Created
May 27, 2013 07:24
-
-
Save wgm89/5655629 to your computer and use it in GitHub Desktop.
git.sh
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
echo '================================================='; | |
echo 'Enter master'; | |
echo '================================================='; | |
git checkout master | |
echo '================================================='; | |
echo 'Merging dev branch commits'; | |
echo '================================================='; | |
git merge mini_dev --no-ff | |
#commit code | |
echo '================================================='; | |
echo 'push to master'; | |
echo '================================================='; | |
git push origin master | |
echo '================================================='; | |
echo 'push to dev'; | |
echo '================================================='; | |
git push origin mini_dev | |
echo '================================================='; | |
echo 'Return to dev branch'; | |
echo '================================================='; | |
git checkout mini_dev | |
echo '================================================='; | |
echo 'Return to dev branch'; | |
echo 'Clean'; | |
echo '================================================='; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment