Mercurial > hg
comparison mercurial/help/hgignore.txt @ 14668:2d6f1b2c6a82
help/hgignore: refer to the builtin help instead of external URLs
author | Wagner Bruna <wbruna@softwareexpress.com.br> |
---|---|
date | Fri, 17 Jun 2011 18:24:54 -0300 |
parents | 0528b69f8db4 |
children | e3c7ca15cde2 |
comparison
equal
deleted
inserted
replaced
14667:8f12dac18d13 | 14668:2d6f1b2c6a82 |
---|---|
23 For example, say we have an untracked file, ``file.c``, at | 23 For example, say we have an untracked file, ``file.c``, at |
24 ``a/b/file.c`` inside our repository. Mercurial will ignore ``file.c`` | 24 ``a/b/file.c`` inside our repository. Mercurial will ignore ``file.c`` |
25 if any pattern in ``.hgignore`` matches ``a/b/file.c``, ``a/b`` or ``a``. | 25 if any pattern in ``.hgignore`` matches ``a/b/file.c``, ``a/b`` or ``a``. |
26 | 26 |
27 In addition, a Mercurial configuration file can reference a set of | 27 In addition, a Mercurial configuration file can reference a set of |
28 per-user or global ignore files. See the | 28 per-user or global ignore files. See the ``ignore`` configuration |
29 ``http://www.selenic.com/mercurial/hgrc.5.html`` man page for details | 29 key on the ``[ui]`` section of :hg:`help config` for details of how to |
30 of how to configure these files. Look for the "ignore" entry in the | 30 configure these files. |
31 "ui" section. | |
32 | 31 |
33 To control Mercurial's handling of files that it manages, see the | 32 To control Mercurial's handling of files that it manages, many |
34 ``http://www.selenic.com/mercurial/hg.1.html`` man page. Look for | 33 commands support the ``-I`` and ``-X`` options; see |
35 the ``-I`` and ``-X`` options. | 34 :hg:`help <command>` and :hg:`help patterns` for details. |
36 | 35 |
37 Syntax | 36 Syntax |
38 ------ | 37 ------ |
39 | 38 |
40 An ignore file is a plain text file consisting of a list of patterns, | 39 An ignore file is a plain text file consisting of a list of patterns, |