Git出现 fatal: Pathspec is in submodule
modified: src/P2/turtle/TurtleSoup.java (modified content)
git add
git add src/P2/turtle/TurtleSoup.java
报出错误信息:
fatal: Pathspec ‘src/P2’ is in submodule
解决方案
使用下面命令:
git rm -rf --cached src/P2/turtle...
原创
2020-03-06 23:27:06 ·
891 阅读 ·
0 评论