Skip to content

Instantly share code, notes, and snippets.

@werty1st
Forked from javigomez/Origin to Upstream
Created April 9, 2018 08:56
Show Gist options
  • Save werty1st/bd228332e4780ef1bab64fa8d205a09a to your computer and use it in GitHub Desktop.
Save werty1st/bd228332e4780ef1bab64fa8d205a09a to your computer and use it in GitHub Desktop.
Git command to rename the origin to upstream when you just forked a project
git remote rename origin upstream
git add remote origin git@github.com:user/fork.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment