]> git.ipfire.org Git - thirdparty/git.git/commitdiff
gitignore doc: add global gitignore to synopsis
authorJonathan Nieder <jrnieder@gmail.com>
Thu, 16 Jan 2014 22:43:34 +0000 (14:43 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Jan 2014 23:23:56 +0000 (15:23 -0800)
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 <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/gitignore.txt

index f9719605123003c97bdf2999f912712536fa927a..37c94707b675858254eefc441e64bb22310e9e60 100644 (file)
@@ -7,7 +7,7 @@ gitignore - Specifies intentionally untracked files to ignore
 
 SYNOPSIS
 --------
-$GIT_DIR/info/exclude, .gitignore
+$HOME/.config/git/ignore, $GIT_DIR/info/exclude, .gitignore
 
 DESCRIPTION
 -----------