记Git报错-Everything up-to-date---in unpopulated submodule 'A'

可能原因是当前项目有一个a是从另一个第三方的仓库克隆的

解决方法是:

删除 A/ 的.git 文件夹

在 ./ 下输入”git rm -r –cached A/“ //谨记:是 A/ ,意为A目录下

在 ./ 下输入”git add A”

git commit -m "back"

git push origin master



参考链接:https://www.jianshu.com/p/c2ec1a0dbad3

posted @ 2020-11-06 18:05  only_books  阅读(163)  评论(0编辑  收藏  举报