Created
June 23, 2010 22:44
-
-
Save guilhermesilveira/450666 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Creating branch $1 for remote $2 $3 | |
| read | |
| git co master | |
| git remote add origin-$1 $2 | |
| git br $1 | |
| git co $1 | |
| git pull origin-$1 $3 | |
| echo If everything went fine, i will push into our master and over to git, go on, otherwise stop it | |
| read | |
| git co master | |
| git merge $1 | |
| git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment