Skip to content

Instantly share code, notes, and snippets.

@snowlong
Created December 29, 2014 07:50
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 snowlong/d60b69807d617b492362 to your computer and use it in GitHub Desktop.
Save snowlong/d60b69807d617b492362 to your computer and use it in GitHub Desktop.
Github からブランチ名を指定してローカルに持ってくる方法もしくは追跡ブランチを指定して新しいブランチをローカルに作成する方法
git remote show origin
git remote update
git fetch
git checkout -b local-name origin/remote-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment