Skip to content

Instantly share code, notes, and snippets.

@nerzhul
Created June 7, 2017 08:20
Show Gist options
  • Save nerzhul/d512c4eb137022b49b85086b4ac64aa0 to your computer and use it in GitHub Desktop.
Save nerzhul/d512c4eb137022b49b85086b4ac64aa0 to your computer and use it in GitHub Desktop.
git-stash-pull
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