Skip to content

Commit

Permalink
gitignore.txt: clarify default core.excludesfile path
Browse files Browse the repository at this point in the history
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]>
tmzullinger authored and gitster committed Jun 27, 2018
1 parent a42a58d commit 45e851c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/gitignore.txt
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ gitignore - Specifies intentionally untracked files to ignore

SYNOPSIS
--------
$HOME/.config/git/ignore, $GIT_DIR/info/exclude, .gitignore
$XDG_CONFIG_HOME/git/ignore, $GIT_DIR/info/exclude, .gitignore

DESCRIPTION
-----------

0 comments on commit 45e851c

Please sign in to comment.