我有一个Project/ProjectName.iml
文件,目前正在跟踪,如
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: Project/ProjectName.iml
另外我的.gitignore
包含条目*.iml
此时,我希望 git 不再跟踪Project/ProjectName.iml
并忽略它是modified
.
请问这怎么做?