Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-11-10 21:57:39 +0300
committerJunio C Hamano <gitster@pobox.com>2010-11-11 21:54:57 +0300
commit0b803a6cc679e5448330ddb3ed3ace3cd66f1b31 (patch)
tree1fd41e9e5b08105b6a5f941db045f5333bb97634 /Documentation/gitignore.txt
parent60aa9cf8f370b69eb7feaad2e1cbcd04280bc799 (diff)
Documentation: split gitignore page into sections
A learner-by-example might want to look at the examples section first. Help her out by supplying some section headings: PATTERN FORMAT for the format of lines in an excludes file and EXAMPLES for the two examples. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitignore.txt')
-rw-r--r--Documentation/gitignore.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt
index 7dc2e8b0bc..254bc1ac26 100644
--- a/Documentation/gitignore.txt
+++ b/Documentation/gitignore.txt
@@ -62,7 +62,8 @@ files specified by command-line options. Higher-level git
tools, such as 'git status' and 'git add',
use patterns from the sources specified above.
-Patterns have the following format:
+PATTERN FORMAT
+--------------
- A blank line matches no files, so it can serve as a separator
for readability.
@@ -98,7 +99,8 @@ Patterns have the following format:
For example, "/{asterisk}.c" matches "cat-file.c" but not
"mozilla-sha1/sha1.c".
-An example:
+EXAMPLES
+--------
--------------------------------------------------------------
$ git status