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