aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/gitignore.txt
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-03-07 00:25:30 -0800
committerJunio C Hamano <gitster@pobox.com>2019-03-08 09:12:45 +0900
commitaf91b0230ca9fb204aac04bd713ca0f420c8f8b1 (patch)
tree3b60f3ee3b43ea8ee4189610a548e244e8d4f706 /Documentation/gitignore.txt
parent407e7680729945126b414a634365be15075fc3bb (diff)
downloadgit-af91b0230ca9fb204aac04bd713ca0f420c8f8b1.tar.gz
docs: move core.excludesFile from git-add to gitignore
A section in "git add" documentation mentions core.excludesFile and explains how it works, but this is not specific to the command. Move this description to gitignore.txt to be more generic. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitignore.txt')
-rw-r--r--Documentation/gitignore.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt
index 1c94f08ff4..b5bc9dbff0 100644
--- a/Documentation/gitignore.txt
+++ b/Documentation/gitignore.txt
@@ -132,6 +132,14 @@ full pathname may have special meaning:
- Other consecutive asterisks are considered regular asterisks and
will match according to the previous rules.
+CONFIGURATION
+-------------
+
+The optional configuration variable `core.excludesFile` indicates a path to a
+file containing patterns of file names to exclude, similar to
+`$GIT_DIR/info/exclude`. Patterns in the exclude file are used in addition to
+those in `$GIT_DIR/info/exclude`.
+
NOTES
-----