【发布时间】:2023-01-13 23:44:31
【问题描述】:
git ls-remote origin 列出所有远程及其提交 ID,
xxxx41 refs/heads/ABC
xxxx92 refs/heads/dummy_xyz
xxxx32 refs/heads/Feature/ABC
xxxx77 refs/heads/Feature/ABC-mgc
现在当我结帐到任何一个分支时我得到一个错误
error: pathspec "/Feature/ABC" or "/Feature/ABC-mgc" did not match any files known to git
我关注了堆栈上的一些问题Remote branch not found
@schwern 做了精彩的解释,但我无法结帐。
【问题讨论】:
标签: git remote-branch