Created
October 22, 2012 15:14
-
-
Save javigomez/3931967 to your computer and use it in GitHub Desktop.
Git command to rename the origin to upstream when you just forked a project
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 remote rename origin upstream | |
git add remote origin [email protected]:user/fork.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@evenfrost is correct. The command should be
git remote add origin
.