Created
June 19, 2015 15:54
-
-
Save triblondon/cfaf1a650f09a28e566d to your computer and use it in GitHub Desktop.
git: Pulling from someone else's remote into a local branch
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
| # create a local branch with the same name as theirs (though can be anything | |
| git checkout -b <theirbranchname> | |
| # Pull their changes into the local branch | |
| git pull <remote> <theirbranchname> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi,
I am using git, but I host it on cloud storage -onedrive like-.
I have aproject that i should finish it using branch feature, I want to finish it on two different computer, just call it a and b computer...
when i create branch "alpha" on a, how to access "alpha" on b?