Mutating committed .iml file

As per this article: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 it seems the .iml files should be committed and shared.

This https://www.gitignore.io/api/phpstorm and this https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 seem redundant on "yes, store the .iml".

But I get the .iml file really changing and it is like annoying to discover each time if I "have" to commit the change or it is just because the IDE run some indexing tasks or whatever.

Here's my GitKraken image of what's up. Like this, several times per week, sometimes several per day:

Q1: Do I really need to commit that?

Q2: What does this change mean?

Q3: Why do I have to share that?

Q4: What happens if I igonore the commitment of the .iml?

Q5: What happens if from the git, I just "delete" the changes and reset to the prior, inmodified, last-committed version?

Thanks!

0
4 comments

Please see https://youtrack.jetbrains.com/issue/WI-34808#comment=27-1880191

Are you using IDE's Git in integration or 3rd party Git tool? Just want to understand the source of "annoyance" 

0

I am currenly playing around with GitKraken.

Nevertheless that is not the reason of the problem. It is the IDE that randomly adds and removes .phar files.

From the internal IDE Git panel the ".iml" it also shows up the same differences. If I open the PhpStorm without opening the GitKraken, in the IDE I can see those diffs:

 

0

Read the suggested entry. Added the logs. Repeated a file-change. Posted the logs there.

0

Please sign in to leave a comment.