Created
May 2, 2012 22:00
-
-
Save thomaslee/2580882 to your computer and use it in GitHub Desktop.
git-stashrebase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
git stash | |
trap "git stash pop" EXIT TERM | |
git rebase "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment