使用命令
- $ git checkout -b develop origin/develop
- $ git checkout --track origin/develop
签出远程分支,出现以下错误:
- fatal: Cannot update paths and switch to branch 'develop' at the same time.
- Did you intend to checkout 'origin/develop' which can not be resolved as commit?
解决方法:
先
- $ git fetch
- $ git checkout -b develop origin/develop