Skip to content

Instantly share code, notes, and snippets.

@aoberoi
Created November 15, 2011 15:03
Show Gist options
  • Save aoberoi/1367274 to your computer and use it in GitHub Desktop.
Save aoberoi/1367274 to your computer and use it in GitHub Desktop.
Git: Adding an origin into an existing repo and tracking it
git remote add origin [email protected]:MyRepo
git branch --set-upstream master origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment