所以,我已经设置了我的全局.gitignore文件来忽略所有以.iml结尾的文件。然而,出于某种原因,它没有忽略一个特定的iml文件。我已经设置了忽略文件和
~/projects/dhub
calebsutton$cat /home/calebsutton/.gitignore
*.iml
~/projects/dhub
calebsutton$git status
# On branch DM-481
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# new file: app/web/src/main/java/com/wellcentive/integration/page/sourcetype/SourceTypeActionPage.java
# new file: app/web/src/main/java/com/wellcentive/integration/page/sourcetype/SourceTypeListPage.java
# new file: app/web/src/main/java/com/wellcentive/integration/page/sourcetype/grid/SourceTypeListGrid.java
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: app/web/src/main/java/com/wellcentive/integration/page/sourcetype/grid/SourceTypeListGrid.java
# modified: app/web/web.iml
#
git ls-files -ic --exclude-standard
。 - jthill