comparison mercurial/help/hgignore.txt @ 17116:d8c76c82d012

help: explain effect of .hgignore on tracked files
author Adrian Buehlmann <adrian@cadifra.com>
date Mon, 02 Jul 2012 00:31:22 +0200
parents e3c7ca15cde2
children 979b107eaea2
comparison
equal deleted inserted replaced
17115:b52d08b930c5 17116:d8c76c82d012
30 configure these files. 30 configure these files.
31 31
32 To control Mercurial's handling of files that it manages, many 32 To control Mercurial's handling of files that it manages, many
33 commands support the ``-I`` and ``-X`` options; see 33 commands support the ``-I`` and ``-X`` options; see
34 :hg:`help <command>` and :hg:`help patterns` for details. 34 :hg:`help <command>` and :hg:`help patterns` for details.
35
36 Files that are already tracked are not affected by .hgignore, even
37 if they appear in .hgignore. An untracked file X can be explicitly
38 added with :hg:`add X`, even if X would be excluded by a pattern
39 in .hgignore.
35 40
36 Syntax 41 Syntax
37 ------ 42 ------
38 43
39 An ignore file is a plain text file consisting of a list of patterns, 44 An ignore file is a plain text file consisting of a list of patterns,