Skip to content

Instantly share code, notes, and snippets.

@narcisobenigno
Created September 21, 2012 19:06
Show Gist options
  • Save narcisobenigno/3763272 to your computer and use it in GitHub Desktop.
Save narcisobenigno/3763272 to your computer and use it in GitHub Desktop.
fazer o track de um branch que não tem a ref local para a ref no remoto
git branch --set-upstream foo upstream/foo
A parte do git 1.8
git branch --track master origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment