summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Marshall <jm18@sanger.ac.uk>2014-02-21 17:25:24 +0000
committerJunio C Hamano <gitster@pobox.com>2014-02-24 09:13:30 -0800
commitc20aec05e35f4f0e62e892b335aebebd6196ca92 (patch)
tree79a75d468ded5d92478ffc660d5bc61ba57dd2e6
parent7bbc4e8fdb33e0a8e42e77cc05460d4c4f615f4d (diff)
downloadgit-jm/stash-doc-k-for-keep.tar.gz
stash doc: mention short form -k in save descriptionjm/stash-doc-k-for-keep
Document --keep-index's short form -k in both main synopsis and the save synopsis in the Options section. Signed-off-by: John Marshall <jm18@sanger.ac.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-stash.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt
index db7e803038..375213fe46 100644
--- a/Documentation/git-stash.txt
+++ b/Documentation/git-stash.txt
@@ -44,7 +44,7 @@ is also possible).
OPTIONS
-------
-save [-p|--patch] [--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
+save [-p|--patch] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
Save your local modifications to a new 'stash', and run `git reset
--hard` to revert them. The <message> part is optional and gives