比如我有一个远程分支
origin/test
,正常情况下
git checkout test
的输出应该是
Branch 'test' set up to track remote branch 'test' from 'origin'.
Switched to a new branch 'test'
但是我这里输出的是
error: pathspec 'test' did not match any file(s) known to git.