summaryrefslogtreecommitdiffstats
path: root/git-stash.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-06-27 15:26:58 -0700
committerJunio C Hamano <gitster@pobox.com>2013-06-27 15:26:58 -0700
commit5075739d7c4a432eeda97873250b749473ff5656 (patch)
treee958c11c1cc4be37d2287445f9bb31200a6c3000 /git-stash.txt
parent3a3357e80cfe1646ce4fc7d834b7cb4ee3e65283 (diff)
downloadgit-htmldocs-5075739d7c4a432eeda97873250b749473ff5656.tar.gz
Autogenerated HTML docs for v1.8.3.1-643-gebeea
Diffstat (limited to 'git-stash.txt')
-rw-r--r--git-stash.txt13
1 files changed, 11 insertions, 2 deletions
diff --git a/git-stash.txt b/git-stash.txt
index 711ffe17a..db7e80303 100644
--- a/git-stash.txt
+++ b/git-stash.txt
@@ -13,10 +13,11 @@ SYNOPSIS
'git stash' drop [-q|--quiet] [<stash>]
'git stash' ( pop | apply ) [--index] [-q|--quiet] [<stash>]
'git stash' branch <branchname> [<stash>]
-'git stash' [save [--patch] [-k|--[no-]keep-index] [-q|--quiet]
+'git stash' [save [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]
[-u|--include-untracked] [-a|--all] [<message>]]
'git stash' clear
-'git stash' create
+'git stash' create [<message>]
+'git stash' store [-m|--message <message>] [-q|--quiet] <commit>
DESCRIPTION
-----------
@@ -151,7 +152,15 @@ create::
Create a stash (which is a regular commit object) and return its
object name, without storing it anywhere in the ref namespace.
+ This is intended to be useful for scripts. It is probably not
+ the command you want to use; see "save" above.
+store::
+
+ Store a given stash created via 'git stash create' (which is a
+ dangling merge commit) in the stash ref, updating the stash
+ reflog. This is intended to be useful for scripts. It is
+ probably not the command you want to use; see "save" above.
DISCUSSION
----------