ローカルに、master
だけがあるとします。
リモートにはhoge
というブランチがあるとします。
単純にcheckout
を試みると次のエラーがでます:
git checkout hoge error: pathspec 'stripe' did not match any file(s) known to git.
hoge
をローカルに持ってくるには、
git fetch git checkout hoge
とします。
ローカルに、master
だけがあるとします。
リモートにはhoge
というブランチがあるとします。
単純にcheckout
を試みると次のエラーがでます:
git checkout hoge error: pathspec 'stripe' did not match any file(s) known to git.
hoge
をローカルに持ってくるには、
git fetch git checkout hoge
とします。