Created
January 13, 2012 18:29
-
-
Save jwheare/1607928 to your computer and use it in GitHub Desktop.
git pull shuffle
This file contains 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
gpu() { | |
stashlist="$(git stash list)" | |
if [ "$stashlist" ]; then | |
echo "Already stashed changes" | |
echo $stashlist | |
return 1; | |
fi | |
git stash && git pull && git stash pop; | |
} |
Cos I have this in my ~/.gitconfig
[branch]
autosetuprebase = always
But I don't.
Just answering the question, darling.
I keep meaning to write this. Now I don't have to. Ta.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Y u no "git pull --rebase"?