2018年8月30日木曜日

gitリモートブランチチェックアウトする方法

以下のコマンドを使えば、リモートにある「remote_branch_name」というブランチをローカル「local_branch_name」としてチェックアウトできます。
git checkout -b local_branch_name origin/remote_branch_name