/.idea/<project-name>.iml appears in Default Changelist even if /.idea/ in .gitignore Follow
my .gitignore has:
also, just to be sure, I added the same in /.git/info/exclude/:
Yesterday I renamed the project (File | Rename Project...) and now when I open the Commit window the /.idea/PROJNAME.iml is shown as a file to be committed every time.
/.idea/ has never been committed.
Using PhpStorm 2019.3.3
Please sign in to leave a comment.
You must have added this file to the Git staging area unintentionally. Removing it from there should do the trick:
git rm --cached .idea/project.iml
Thanks it worked.