Intellij 11.0.1 seems to be ignoring my .hgignore file
-
19-04-2021 - |
문제
I have the following .hgignore file that should keep Intellij's constantly changing internal config files from polluting our source control.
syntax: glob
.idea/*
target/*
logs/*
out/*
myapp.iml
myapp-web.iml
Tortoise and the command line seem to respect the fact that files like ".idea/dataSources.xml" are not meant to be added to source control but intellij's hg4idea are constantly asking if I would like to add files like ".idea/dataSources.xml" to source control.
Is my .hgignore file just wrong or is there a bug in Intellij?
해결책
It's a known bug, please vote. As a workaround you can ignore files in Settings
| Version Control
| Ignored Files
.
다른 팁
To add files to the IntelliJ ignore list go to:
- Settings
- Version Control
- Ignored Files
제휴하지 않습니다 StackOverflow