Add git-stash script
commitf2c66ed196d1d1410d014e4ee3e2b585936101f5
authorしらいしななこ <nanako3@bluebottle.com>
Sat, 30 Jun 2007 05:37:09 +0000 (30 14:37 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sun, 1 Jul 2007 03:50:51 +0000 (30 20:50 -0700)
tree61446b2109cfb4b832c4e8d9be3ad98cb6e1f753
parent06f59e9f5daa06fc4bd51cf4c508b3edd3ed514a
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>
.gitignore
Makefile
git-stash.sh [new file with mode: 0755]