Created
July 28, 2015 13:11
-
-
Save themarcba/c6731b6b389595ccca16 to your computer and use it in GitHub Desktop.
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
if [ "$1" == "develop" ] || [ "$1" == "d" ] || [ -z "$1" ]; then | |
echo "Pushing to develop..." | |
git pull code develop | |
elif [ "$1" == "master" ] || [ "$1" == "m" ]; then | |
echo "Pushing to master..." | |
git pull code master | |
else | |
echo "Push feature/$1..." | |
git pull code "feature/$1" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment