Last active
December 29, 2015 10:19
-
-
Save pomle/7656065 to your computer and use it in GitHub Desktop.
Stabilize script for /bin
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 | |
TEMP_BRANCH=temp/stabilize_master | |
git fetch origin master:$TEMP_BRANCH && git checkout $TEMP_BRANCH && git fetch origin testing:testing && git fetch origin stable:stable \ | |
&& git checkout testing && git merge $TEMP_BRANCH \ | |
&& git checkout stable && git merge testing \ | |
&& git branch -d $TEMP_BRANCH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment