Skip to content

Instantly share code, notes, and snippets.

@wgm89
Created May 27, 2013 07:24
Show Gist options
  • Save wgm89/5655629 to your computer and use it in GitHub Desktop.
Save wgm89/5655629 to your computer and use it in GitHub Desktop.
git.sh
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