Last active
December 21, 2015 16:57
-
-
Save jbryson3/48bd2def252888d2621b to your computer and use it in GitHub Desktop.
GIT - Creating release branches without switching context
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 | |
# Create release branch of current directory repository off of develop without changing your working directory | |
# ./create-release-branch.sh new-release | |
git branch release/$1 origin/develop | |
git push -u origin release/$1 | |
git branch -d release/$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment