Why does git say a sub project is dirty if I do not have any sub-modules in my repository?

一世执手 提交于 2019-12-08 02:56:14

问题


Its a new git repository and all I've done is added a whole lot of code to it. However, it tells me:

+Subproject commit 62402f4a7e3aa34a5f22532c8c699836b7ae4967-dirty

Based on this question, this seems to imply that this has something to do with sub modules and is to be expected if you have sub modules.

However, I do not have any. Why am I getting this message and how do I get of it?


回答1:


Make sure there aren't some unintended .git folders in subdirectories of your repo.



来源:https://stackoverflow.com/questions/9089515/why-does-git-say-a-sub-project-is-dirty-if-i-do-not-have-any-sub-modules-in-my-r

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!