Created
June 7, 2017 08:20
-
-
Save nerzhul/d512c4eb137022b49b85086b4ac64aa0 to your computer and use it in GitHub Desktop.
git-stash-pull
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
function git-stash-pull () { | |
git stash clear | |
git stash | |
git pull --rebase | |
git stash apply | |
git stash clear | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment