Code

Implement "git stash branch <newbranch> <stash>"
authorAbhijit Menon-Sen <ams@toroid.org>
Thu, 3 Jul 2008 06:16:05 +0000 (11:46 +0530)
committerJunio C Hamano <gitster@pobox.com>
Sat, 5 Jul 2008 07:39:37 +0000 (00:39 -0700)
commit656b50345239293929ad8c639c5f1941c6b867ad
tree2ad9d58711dd3dc3bd5def98ccfa017f949ed102
parent6991357513bf8bfbb71a4675e271b386cc273476
Implement "git stash branch <newbranch> <stash>"

Restores the stashed state on a new branch rooted at the commit on which
the stash was originally created, so that conflicts caused by subsequent
changes on the original branch can be dealt with.

(Thanks to Junio for this nice idea.)

Signed-off-by: Abhijit Menon-Sen <ams@toroid.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-stash.txt
git-stash.sh