aboutsummaryrefslogtreecommitdiff
path: root/Documentation/repository-layout.txt
diff options
context:
space:
mode:
authorMatthias Lederhofer <matled@gmx.net>2006-07-12 21:54:51 +0200
committerJunio C Hamano <junkio@cox.net>2006-07-13 21:52:42 -0700
commitff4d78041e85d1eddb17f2eee497e29aaeee4564 (patch)
tree204bb6aa9120b28a958a8c0bca3e0533f6aff76a /Documentation/repository-layout.txt
parenta5262768e1e4af96bbca60ee712e97105f80de24 (diff)
downloadgit-ff4d78041e85d1eddb17f2eee497e29aaeee4564.tar.gz
git-ff4d78041e85d1eddb17f2eee497e29aaeee4564.tar.xz
Documentation about exclude/ignore files
Use .git/info/exclude in the example in git-ls-files.txt, instead of .git/ignore, and update the list of commands looking at .git/info/exclude in repository-layout.txt. Signed-off-by: Matthias Lederhofer <matled@gmx.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/repository-layout.txt')
-rw-r--r--Documentation/repository-layout.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/repository-layout.txt b/Documentation/repository-layout.txt
index b52dfdc30..275d18bb5 100644
--- a/Documentation/repository-layout.txt
+++ b/Documentation/repository-layout.txt
@@ -120,9 +120,11 @@ info/grafts::
info/exclude::
This file, by convention among Porcelains, stores the
- exclude pattern list. `git status` looks at it, but
- otherwise it is not looked at by any of the core git
- commands.
+ exclude pattern list. `.gitignore` is the per-directory
+ ignore file. `git status`, `git add`, `git rm` and `git
+ clean` look at it but the core git commands do not look
+ at it. See also: gitlink:git-ls-files[1] `--exclude-from`
+ and `--exclude-per-directory`.
remotes::
Stores shorthands to be used to give URL and default