Skip to content

Commit 2ce66e2

Browse files
jrngitster
authored andcommitted
gitignore doc: add global gitignore to synopsis
The gitignore(5) manpage already documents $XDG_CONFIG_HOME/git/ignore but it is easy to forget that it exists. Add a reminder to the synopsis. Noticed while looking for a place to put a list of scratch filenames in the cwd used by one's editor of choice. Signed-off-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4224916 commit 2ce66e2

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-
$GIT_DIR/info/exclude, .gitignore
10+
$HOME/.config/git/ignore, $GIT_DIR/info/exclude, .gitignore
1111

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

0 commit comments

Comments
 (0)