用git先clone一个项目下来,后来发现需要修改module名称,于是重命名module名称后,准备commit该文件。但是不能把iml文件重新commit,提示该文件没有变化?
对该文件进行编辑,会有提示变化,但是提交的时候 却仍旧是提交原来那个名字的iml文件。
怪我咯2017-05-02 09:40:19
This kind of IDEA project file should not be submitted in the first place
Check whether the .gitignore in the project directory includes *.iml
高洛峰2017-05-02 09:40:19
What is recorded in git is the previous file name. If you change the name, you should first remove
以前的,再add
new it.
PHPz2017-05-02 09:40:19
The .iml file is an IDE configuration file, it has nothing to do with the project and does not need to be submitted