stash doc: mention short form -k in save description
PATCH 1/1 stash doc: mention short form -k in save description
Document --keep-index's short form -k in both main synopsis and the save synopsis in the Options section.
Signed-off-by John Marshall <[email protected]>
---
A very small documentation patch: I'd not read the main synopsis carefully (just skipped to the save details!) and didn't realise that --keep-index had a short form...
Documentation/git-stash.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-stash.txt +1 -1
@@ -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
Signature · 9 lines
1.8.3.4 (Apple Git-47) -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
Quoted 5 lines · John Marshall
Document --keep-index's short form -k in both main synopsis and the save synopsis in the Options section.
Signed-off-by John Marshall <[email protected]>---
Looks good; thanks.
Quoted 22 lines
A very small documentation patch: I'd not read the main synopsis carefully (just skipped to the save details!) and didn't realise that --keep-index had a short form...
Documentation/git-stash.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/git-stash.txt +1
-1@@ -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 givesSignature · 1 line
1.8.3.4 (Apple Git-47)