我正在尝试检出一个本地不存在的远程分支。
git checkout -b branch_name origin/branch_name
提供:
fatal: Cannot update paths and switch to branch 'branch_name' at the same time.
Did you intend to checkout 'origin/branch_name' which can not be resolved as commit?
git branch -a
命令没有显示我想要切换的分支。
我该如何在本地检出远程分支?
git fetch
。 - nwinkler