]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-stash.txt
git-stash: add new 'drop' subcommand
[thirdparty/git.git] / Documentation / git-stash.txt
index 48e6f5a3f7a85e886639381dfa70434ecdeccfc2..f50c24ce9aa1c1d2937f3eb8ee27b349a6f0a3ba 100644 (file)
@@ -8,7 +8,7 @@ git-stash - Stash the changes in a dirty working directory away
 SYNOPSIS
 --------
 [verse]
-'git-stash' (list | show [<stash>] | apply [<stash>] | clear)
+'git-stash' (list | show [<stash>] | apply [<stash>] | clear | drop [<stash>])
 'git-stash' [save [<message>]]
 
 DESCRIPTION
@@ -85,6 +85,11 @@ clear::
        Remove all the stashed states. Note that those states will then
        be subject to pruning, and may be difficult or impossible to recover.
 
+drop [<stash>]::
+
+       Remove a single stashed state from the stash list. When no `<stash>`
+       is given, it removes the latest one. i.e. `stash@\{0}`
+
 
 DISCUSSION
 ----------