![](//dev.kujunpopo.com/wp-content/uploads/pz-linkcard/cache/4e952673435a6fa8f0d1e9f9723ef8e6e111a29e272b27ef3bfd52bda62d202d.jpeg)
リモートのgitブランチをローカルにチェックアウトする - setoya-blog
http://sessan.hatenablog.com/entry/2012/11/04/132746
まずは、リモートにどんなブランチがあるかを確かめる。-aオプションでリモートブランチも一覧できる。 > git branch -a * master remotes/origin/master remotes/origin/other_branch チェックアウトしたいブランチが表示されていない時は、git fetchとかすると情報をリポジトリから取得できる。 > git fetch 次に、ローカルブランチ名を指定して、リモートブランチをチェックアウトする > git checkout -b other_branch origin/other_branch 最初の引数がローカルブランチ名 -b…