]> git.ipfire.org Git - thirdparty/git.git/commit - git-stash.sh
stash: implement "stash create"
authorJunio C Hamano <gitster@pobox.com>
Sun, 8 Jul 2007 08:38:32 +0000 (01:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 15 Sep 2007 05:40:49 +0000 (22:40 -0700)
commitbc9e7399af3790918140c30a5b2c85bf9a8f1ad3
treeaa288af4723d7d99af2b5dc47736ac6a0ce49ce0
parentd3392f7e86d130dfafb08736b7fa2067dd2cf070
stash: implement "stash create"

This subcommand creates a stash from the current state and writes out the
resulting commit object ID to the standard output, without updating the
stash ref nor resetting the tree.  It is intended to be used by scripts
to temporarily rewind the working tree to a clean state.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh