Skip to content

Instantly share code, notes, and snippets.

@pi3r
Created April 19, 2011 07:50
Show Gist options
  • Save pi3r/926979 to your computer and use it in GitHub Desktop.
Save pi3r/926979 to your computer and use it in GitHub Desktop.
git branch --set-upstream develop origin/develop
##MAN
--set-upstream
If specified branch does not exist yet or if --force has been given, acts exactly like --track. Otherwise sets up configuration
like --track would when creating the branch, except that where branch points to is not changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment