@@ -41,18 +41,24 @@ precedence, the last matching pattern decides the outcome):
41
41
variable 'core.excludesfile'.
42
42
43
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.
56
62
57
63
The underlying git plumbing tools, such as
58
64
'git ls-files' and 'git read-tree', read
0 commit comments