mirror of
https://github.com/git/git.git
synced 2025-04-18 11:44:44 +00:00
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>
This commit is contained in:
parent
60aa9cf8f3
commit
0b803a6cc6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user