git 操作报错

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin 


git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree pull --no-commit origin master 
From http:************************
 * branch            master     -> FETCH_HEAD
Already up-to-date.


git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree submodule update --init 
fatal: No url found for submodule path 'vendor/doctrine/cache' in .gitmodules
Completed with errors, see above

不知到为啥在用sourcetree pull时会抱这样的错

阅读 3.7k
1 个回答

子模块没有设置git的url

fatal: No url found for submodule path 'vendor/doctrine/cache' in .gitmodules
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题