赞
踩
本人在本地开发中,切换线上新创建分支时:
$ git checkout master01
error: pathspec 'master01' did not match any file(s) known to git
$ git branch -a | grep master
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
remotes/origin/master001
发现没有最新的分支,重新拉取
git fetch
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。