Created
January 8, 2014 17:54
-
-
Save kyberorg/8321189 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
upstream in the github example is just the name they've chosen to refer to that repository. You may choose any that you like when using git remote add. Depending on what you select for this name, your git pull usage will change. For example, if you use: | |
git remote add upstream git://github.com/somename/original-project.git | |
then you would use this to pull changes: | |
git pull upstream master | |
But, if you choose origin for the name of the remote repo, your commands would be: | |
To name the remote repo in your local config: git remote add origin git://github.com/somename/original-project.git | |
And to pull: git pull origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment