Created
April 4, 2012 17:34
-
-
Save koriroys/2304137 to your computer and use it in GitHub Desktop.
Push a new branch
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
# create & checkout branch in one step | |
$ git checkout -b branch_name | |
# push new branch to remote repo | |
$ git push remote_repo_name branch_name | |
# example of above: | |
$ git push origin branch_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment