Skip to content

Instantly share code, notes, and snippets.

@xdesro
Created July 28, 2019 21:08
Show Gist options
  • Save xdesro/d20e53ca91018288ddfb6e8850af1742 to your computer and use it in GitHub Desktop.
Save xdesro/d20e53ca91018288ddfb6e8850af1742 to your computer and use it in GitHub Desktop.
It's a pull party, baby!
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