Reputation: 4255
I have kind of a strange problem.
As I have read in this Question I have to add my .iml
files to Git, because I am not using Maven.
But the .iml
file in the Root-Folder changes its name depending on the Foldername the Project is cloned to :
Project Cloned to Folder "Test" the iml is --> Test.iml
Project Cloned to Folder "ProjectName" --> Projectname.iml
How should this work, if I have to add the .iml File to Git, because People can clone the repository to whatever folder they like.
Upvotes: 2
Views: 1256
Reputation: 7747
Seems impossible to use different names for a tracked file in different repositories.
An alternative may be to keep the project with the .iml
file in the sub-folder of the git
root folder. In this way, no matter what folder people clone to, the name of the sub-folder for the project is not changed and so does the .iml
file.
Upvotes: 1