]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/user-manual.txt
user-manual: Add section on ignoring files
authorJohan Herland <johan@herland.net>
Wed, 16 May 2007 00:31:40 +0000 (02:31 +0200)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Sat, 19 May 2007 05:06:05 +0000 (01:06 -0400)
commit2dc53617a43fda3df12e51e765fe4043935cfc22
tree1b249e42f35254ab04050dc8f949bb0827192e78
parent187b0d80dfad2f51df580bffbbc1e7bc2103f6d4
user-manual: Add section on ignoring files

The todo list at the end of the user manual says that something must be
said about .gitignore. Also, there seems to be a lack of documentation
on how to choose between the various types of ignore files (.gitignore
vs. .git/info/exclude, etc.).

This patch adds a section on ignoring files which try to introduce how
to tell git about ignored files, and how the different strategies
complement eachother.

The syntax of exclude patterns is explained in a simplified manner, with
a reference to git-ls-files(1) which already contains a more thorough
explanation.

Signed-off-by: Johan Herland <johan@herland.net>
Documentation/user-manual.txt