Doc: separate gitignore pattern sources
Use separate bulleted paragraphs for the three different gitignore pattern sources. Signed-off-by: Philip Oakley <philipoakley@iee.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Philip Oakley committed
Sep 19, 2012 at 00:25 UTC
3f8c5a41f10ac35ac362d6e2f125b559d580d3e7
1 file changed
+18
-12
Documentation/gitignore.txt
+18
-12
@@ -41,18 +41,24 @@ precedence, the last matching pattern decides the outcome):
41
variable 'core.excludesfile'.
42
43
Which file to place a pattern in depends on how the pattern is meant to
44
-be used. Patterns which should be version-controlled and distributed to
45
-other repositories via clone (i.e., files that all developers will want
46
-to ignore) should go into a `.gitignore` file. Patterns which are
47
-specific to a particular repository but which do not need to be shared
48
-with other related repositories (e.g., auxiliary files that live inside
49
-the repository but are specific to one user's workflow) should go into
50
-the `$GIT_DIR/info/exclude` file. Patterns which a user wants git to
51
-ignore in all situations (e.g., backup or temporary files generated by
52
-the user's editor of choice) generally go into a file specified by
53
-`core.excludesfile` in the user's `~/.gitconfig`. Its default value is
54
-$XDG_CONFIG_HOME/git/ignore. If $XDG_CONFIG_HOME is either not set or empty,
55
-$HOME/.config/git/ignore is used instead.
44
+be used.
45
+
46
+ * Patterns which should be version-controlled and distributed to
47
+ other repositories via clone (i.e., files that all developers will want
48
+ to ignore) should go into a `.gitignore` file.
49
+
50
+ * Patterns which are
51
+ specific to a particular repository but which do not need to be shared
52
+ with other related repositories (e.g., auxiliary files that live inside
53
+ the repository but are specific to one user's workflow) should go into
54
+ the `$GIT_DIR/info/exclude` file.
55
+
56
+ * Patterns which a user wants git to
57
+ ignore in all situations (e.g., backup or temporary files generated by
58
+ the user's editor of choice) generally go into a file specified by
59
+ `core.excludesfile` in the user's `~/.gitconfig`. Its default value is
60
+ $XDG_CONFIG_HOME/git/ignore. If $XDG_CONFIG_HOME is either not set or
61
+ empty, $HOME/.config/git/ignore is used instead.
62
63
The underlying git plumbing tools, such as
64
'git ls-files' and 'git read-tree', read