diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-07-19 02:14:50 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-07-19 02:14:50 +0000 |
commit | bb6e0789b38b1d3ecb600a1ff05cdff4b88f677c (patch) | |
tree | 902103a829e9f09e4159ada8fdc32c6c0ed00ffb /git-stash.txt | |
parent | 18b6ff3704218dde27a820b56b39d02b6edb62ea (diff) | |
download | git-htmldocs-bb6e0789b38b1d3ecb600a1ff05cdff4b88f677c.tar.gz |
Autogenerated HTML docs for v1.5.3-rc2-19-gc4fba
Diffstat (limited to 'git-stash.txt')
-rw-r--r-- | git-stash.txt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/git-stash.txt b/git-stash.txt index ad95ed9ce..17121ade5 100644 --- a/git-stash.txt +++ b/git-stash.txt @@ -8,7 +8,8 @@ git-stash - Stash the changes in a dirty working directory away SYNOPSIS -------- [verse] -'git-stash' (save | list | show [<stash>] | apply [<stash>] | clear) +'git-stash' (list | show [<stash>] | apply [<stash>] | clear) +'git-stash' [save] [message...] DESCRIPTION ----------- @@ -22,7 +23,9 @@ The modifications stashed away by this command can be listed with `git-stash list`, inspected with `git-stash show`, and restored (potentially on top of a different commit) with `git-stash apply`. Calling git-stash without any arguments is equivalent to `git-stash -save`. +save`. A stash is by default listed as "WIP on 'branchname' ...", but +you can give a more descriptive message on the command line when +you create one. The latest stash you created is stored in `$GIT_DIR/refs/stash`; older stashes are found in the reflog of this reference and can be named using @@ -48,8 +51,8 @@ list:: based on. + ---------------------------------------------------------------- -stash@{0}: submit: 6ebd0e2... Add git-stash -stash@{1}: master: 9cc0589... Merge branch 'master' of gfi +stash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation +stash@{1}: On master: 9cc0589... Add git-stash ---------------------------------------------------------------- show [<stash>]:: |