Created
January 19, 2011 01:06
-
-
Save rfletcher/785488 to your computer and use it in GitHub Desktop.
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
$ git rb explain publish | |
git_remote_branch version 0.3.0 | |
List of operations to do to publish an exiting local branch: | |
git push origin branch_to_publish:refs/heads/branch_to_publish | |
git fetch origin | |
git config branch.branch_to_publish.remote origin | |
git config branch.branch_to_publish.merge refs/heads/branch_to_publish | |
git checkout branch_to_publish |
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
$ git rb explain track | |
git_remote_branch version 0.3.0 | |
List of operations to do to track an existing remote branch: | |
git fetch origin | |
git branch --track branch_to_track origin/branch_to_track |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment