문제

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

Settings

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top