Skip to content

Commit 71bda8b

Browse files
jaaltogitster
authored andcommitted
Documentation/git-stash.txt: Adjust SYNOPSIS command syntax (2)
Adjust the command syntax to better reflect the call parameters: [save] [message...] => [save [<message>]]. Signed-off-by: Jari Aalto <jari.aalto AT cante.net> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6ce8e44 commit 71bda8b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Documentation/git-stash.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SYNOPSIS
99
--------
1010
[verse]
1111
'git-stash' (list | show [<stash>] | apply [<stash>] | clear)
12-
'git-stash' [save] [message...]
12+
'git-stash' [save [<message>]]
1313

1414
DESCRIPTION
1515
-----------
@@ -36,11 +36,12 @@ is also possible).
3636
OPTIONS
3737
-------
3838

39-
save::
39+
save [<message>]::
4040

4141
Save your local modifications to a new 'stash', and run `git-reset
4242
--hard` to revert them. This is the default action when no
43-
subcommand is given.
43+
subcommand is given. The <message> part is optional and gives
44+
the description along with the stashed state.
4445

4546
list::
4647

0 commit comments

Comments
 (0)