Merge branch 'ab/gitignore-discovery-doc'
Doc update. * ab/gitignore-discovery-doc: docs: .gitignore parsing is to the top of the repo
This commit is contained in:
@ -27,12 +27,11 @@ precedence, the last matching pattern decides the outcome):
|
|||||||
them.
|
them.
|
||||||
|
|
||||||
* Patterns read from a `.gitignore` file in the same directory
|
* Patterns read from a `.gitignore` file in the same directory
|
||||||
as the path, or in any parent directory, with patterns in the
|
as the path, or in any parent directory (up to the top-level of the working
|
||||||
higher level files (up to the toplevel of the work tree) being overridden
|
tree), with patterns in the higher level files being overridden by those in
|
||||||
by those in lower level files down to the directory containing the file.
|
lower level files down to the directory containing the file. These patterns
|
||||||
These patterns match relative to the location of the
|
match relative to the location of the `.gitignore` file. A project normally
|
||||||
`.gitignore` file. A project normally includes such
|
includes such `.gitignore` files in its repository, containing patterns for
|
||||||
`.gitignore` files in its repository, containing patterns for
|
|
||||||
files generated as part of the project build.
|
files generated as part of the project build.
|
||||||
|
|
||||||
* Patterns read from `$GIT_DIR/info/exclude`.
|
* Patterns read from `$GIT_DIR/info/exclude`.
|
||||||
|
Reference in New Issue
Block a user