author | しらいしななこ <nanako3@bluebottle.com> | |
Sat, 30 Jun 2007 05:37:09 +0000 (14:37 +0900) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 1 Jul 2007 03:50:51 +0000 (20:50 -0700) | ||
commit | f2c66ed196d1d1410d014e4ee3e2b585936101f5 | |
tree | 61446b2109cfb4b832c4e8d9be3ad98cb6e1f753 | tree | snapshot |
parent | 06f59e9f5daa06fc4bd51cf4c508b3edd3ed514a | commit | diff |
Add git-stash script
When my boss has something to show me and I have to update, for some
reason I am always in the middle of doing something else, and git pull
command refuses to work in such a case.
I wrote this little script to save the changes I made, perform the
update, and then come back to where I was, but on top of the updated
commit.
This is how you would use the script:
$ git stash
$ git pull
$ git stash apply
[jc: with a few fixlets from the list]
Signed-off-by: Nanako Shiraishi <nanako3@bluebottle.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When my boss has something to show me and I have to update, for some
reason I am always in the middle of doing something else, and git pull
command refuses to work in such a case.
I wrote this little script to save the changes I made, perform the
update, and then come back to where I was, but on top of the updated
commit.
This is how you would use the script:
$ git stash
$ git pull
$ git stash apply
[jc: with a few fixlets from the list]
Signed-off-by: Nanako Shiraishi <nanako3@bluebottle.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitignore | diff | blob | history | |
Makefile | diff | blob | history | |
git-stash.sh | [new file with mode: 0755] | blob |