使用命令
$ git checkout -b branch_a 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命令