intellij-idea - Can't use git commit after renaming the iml file using IDEA?
给我你的怀抱
给我你的怀抱 2017-05-02 09:38:19
0
3
1002

Use git to clone a project first, and later found that the module name needs to be modified, so after renaming the module name, prepare to commit the file. But I cannot re-commit the iml file, and it is prompted that the file has not changed?
When editing the file, the prompt will change, but when submitting, the iml file with the original name will still be submitted.

给我你的怀抱
给我你的怀抱

reply all(3)
刘奇
  1. This kind of IDEA project file should not be submitted in the first place

  2. Check whether the .gitignore in the project directory includes *.iml

小葫芦

What is recorded in git is the previous file name. If you change the name, you should first remove以前的,再addnew it.

PHPzhong

The .iml file is an IDE configuration file, it has nothing to do with the project and does not need to be submitted

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template