Skip to content

Commit 45e851c

Browse files
tmzullingergitster
authored andcommitted
gitignore.txt: clarify default core.excludesfile path
The default core.excludesfile path is $XDG_CONFIG_HOME/git/ignore. $HOME/.config/git/ignore is used if XDG_CONFIG_HOME is empty or unset, as described later in the document. Signed-off-by: Todd Zullinger <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a42a58d commit 45e851c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/gitignore.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ gitignore - Specifies intentionally untracked files to ignore
77

88
SYNOPSIS
99
--------
10-
$HOME/.config/git/ignore, $GIT_DIR/info/exclude, .gitignore
10+
$XDG_CONFIG_HOME/git/ignore, $GIT_DIR/info/exclude, .gitignore
1111

1212
DESCRIPTION
1313
-----------

0 commit comments

Comments
 (0)