git报错( git checkout rongtong error: pathspec ‘rongtong‘ did not match any file(s) known to git.)已解决

阅读 45

2022-01-25

git checkout rongtong error: pathspec ‘rongtong’ did not match any file(s) known to git. 问题

 git checkout llb
error: pathspec 'llb' did not match any file(s) known to git.

1.查看所有分支

 git branch -a
* dev
  remotes/origin/HEAD -> origin/master
  remotes/origin/dev

2.获取所有分支

git fetch

3.切换到你的分支

git checkout llb

精彩评论(0)

0 0 举报