X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-stash.txt;h=49e2296a24825b2ea3a0976ff9073e7b44e976d8;hb=652b0bbe09c909eb5aa34be8746071f1c5c0e73d;hp=7d50d74cc9a945f0dd82b0c26509bf0392eff837;hpb=65360346309a550185363ef5b846a1202175a4e6;p=git.git diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt index 7d50d74cc..49e2296a2 100644 --- a/Documentation/git-stash.txt +++ b/Documentation/git-stash.txt @@ -8,11 +8,13 @@ git-stash - Stash the changes in a dirty working directory away SYNOPSIS -------- [verse] -'git stash' list -'git stash' (show | apply | drop | pop ) [] +'git stash' list [] +'git stash' (show | drop | pop ) [] +'git stash' apply [--index] [] 'git stash' branch [] -'git stash' [save []] +'git stash' [save [--keep-index] []] 'git stash' clear +'git stash' create DESCRIPTION ----------- @@ -116,6 +118,11 @@ pop []:: of the current working tree state. When no `` is given, `stash@\{0}` is assumed. See also `apply`. +create:: + + Create a stash (which is a regular commit object) and return its + object name, without storing it anywhere in the ref namespace. + DISCUSSION ----------