Skip to content

Instantly share code, notes, and snippets.

@JeremySkinner
Created November 19, 2009 15:32
Show Gist options
  • Save JeremySkinner/238821 to your computer and use it in GitHub Desktop.
Save JeremySkinner/238821 to your computer and use it in GitHub Desktop.
Clone as normal...
git clone git://...url...
Create and check out a local branch that tracks the remote branch
git checkout -b <branch name> --track origin/<remote branch name>
Pull changes into the branch:
git pull origin <remote name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment