Skip to content

Instantly share code, notes, and snippets.

@erynofwales
Created September 8, 2011 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erynofwales/1204469 to your computer and use it in GitHub Desktop.
Save erynofwales/1204469 to your computer and use it in GitHub Desktop.
Tell branch foo to track upstream/foo
git branch --set-upstream foo upstream/foo
@asmallteapot
Copy link

So this is for when your local copy of foo has stopped tracking upstream/foo for some reason?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment