Created
July 28, 2019 21:08
-
-
Save xdesro/d20e53ca91018288ddfb6e8850af1742 to your computer and use it in GitHub Desktop.
It's a pull party, baby!
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
pullparty() { | |
echo "🍹 Pull party baby! 🏝👙" | |
CURRENT_BRANCH=$(git symbolic-ref --short -q HEAD); | |
git checkout develop; | |
git pull; | |
git checkout $CURRENT_BRANCH; | |
git merge develop; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment