Skip to content

Instantly share code, notes, and snippets.

@joncode
Created December 7, 2012 22:40
Show Gist options
  • Select an option

  • Save joncode/4237122 to your computer and use it in GitHub Desktop.

Select an option

Save joncode/4237122 to your computer and use it in GitHub Desktop.
getting github branches on your local computer
git remote show origin
git pull
git checkout remotes/origin/branchname
git checkout -b branchname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment