Mercurial 디렉토리에 추가 할 필요가 없습니다. 저장소의 루트 디렉토리에 .hgignore
을 입력해야합니다.
In addition, a Mercurial configuration file can reference a set of per-user or global ignore files. See the hgrc(5) man page for details of how to configure these files. Look for the "ignore" entry in the "ui" section.
을 그리고 거기 당신은 파일 mercurial.ini (또는 hgrc)에서 파일을 무시 정의하는 지침을 볼 수 있습니다 :
The Mercurial system uses a file called .hgignore in the root directory of a repository to control its behavior when it searches for files that it is not currently tracking
또한 글로벌 .hgignore 파일을 설정할 수 있습니다
ignore A file to read per-user ignore patterns from. This file should be in the same format as a repository-wide .hgignore file. This option supports hook syntax, so if you want to specify multiple ignore files, you can do so by setting something like ignore.other = ~/.hgignore2. For details of the ignore file format, see the hgignore(5) man page.
[TortoiseHg] (http://tortoisehg.bitbucket.org/)은 저장소를 만들 때 자동으로 추가합니다. –