拉取远程分支:
git checkout -t origin/feature
1
报错如下
fatal: Cannot update paths and switch to branch 'feature' at the same time.
Did you intend to checkout 'origin/feature' which can not be resolved as commit?
1
2
解决:
git fetch
git checkout -t origin/feature