@matheusbsbs / matheus-bagliano / commits / 0b803a6cc6
Fork 0

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>

Jonathan Nieder committed Nov 10, 2010 at 12:57 UTC 0b803a6cc679e5448330ddb3ed3ace3cd66f1b31
1 file changed +4 -2
Documentation/gitignore.txt
+4 -2
@@ -62,7 +62,8 @@ files specified by command-line options. Higher-level git
62 tools, such as 'git status' and 'git add',
63 use patterns from the sources specified above.
64
65 -Patterns have the following format:
65 +PATTERN FORMAT
66 +--------------
67
68 - A blank line matches no files, so it can serve as a separator
69 for readability.
@@ -98,7 +99,8 @@ Patterns have the following format:
99 For example, "/{asterisk}.c" matches "cat-file.c" but not
100 "mozilla-sha1/sha1.c".
101
101 -An example:
102 +EXAMPLES
103 +--------
104
105 --------------------------------------------------------------
106 $ git status