summaryrefslogtreecommitdiffstats
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2007-06-02 19:08:54 +0200
committerJunio C Hamano <junkio@cox.net>2007-06-02 20:59:19 +0200
commitcedb8d5d33e6496cfc70493db841b3db886e8658 (patch)
treecc4c8f97331a4f99e0eedd87579ea835d8fd248e /Documentation/config.txt
parentDocumentation: robustify asciidoc GIT_VERSION replacement (diff)
downloadgit-cedb8d5d33e6496cfc70493db841b3db886e8658.tar.xz
git-cedb8d5d33e6496cfc70493db841b3db886e8658.zip
Create a new manpage for the gitignore format, and reference it elsewhere
Only git-ls-files(1) describes the gitignore format in detail, and it does so with reference to git-ls-files options. Most users don't use the plumbing command git-ls-files directly, and shouldn't have to look in its manpage for information on the gitignore format. Create a new manpage gitignore(5) (Documentation/gitignore.txt), and factor out the gitignore documentation into that file, changing it to refer to .gitignore and $GIT_DIR/info/exclude as used by porcelain commands. Reference gitignore(5) from other relevant manpages and documentation. Remove now-redundant information on exclude patterns from git-ls-files(1), leaving only information on how git-ls-files options specify exclude patterns and what precedence they have. Signed-off-by: Josh Triplett <josh@freedesktop.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index fdb71de9f6..7d9afe20f9 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -266,7 +266,8 @@ Common unit suffixes of 'k', 'm', or 'g' are supported.
core.excludeFile::
In addition to '.gitignore' (per-directory) and
'.git/info/exclude', git looks into this file for patterns
- of files which are not meant to be tracked.
+ of files which are not meant to be tracked. See
+ gitlink:gitignore[5].
alias.*::
Command aliases for the gitlink:git[1] command wrapper - e.g.