Created
October 3, 2012 00:51
-
-
Save tkawachi/3824264 to your computer and use it in GitHub Desktop.
Merge develop to master and push it
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
#!/bin/bash | |
set -e | |
COMPANY_REMOTE=plucky | |
git fetch $COMPANY_REMOTE | |
git checkout master | |
git reset --hard $COMPANY_REMOTE/master | |
git merge --no-ff $COMPANY_REMOTE/develop | |
git push origin master | |
git push $COMPANY_REMOTE master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment