Ignoring Files
|
Note
|
Draft placeholder — outline notes only; prose not yet written. |
Points this section needs to cover:
-
.gitignorepattern rules in depth (globs, negation, directory patterns, double-asterisk) -
Nested
.gitignorefiles and their scoping -
Global excludes:
core.excludesFileand per-repo.git/info/exclude -
Debugging why a file is ignored with
git check-ignore --verbose -
Ignoring build artifacts, editor droppings, and agent-generated files (cross-reference Ch 7, Git and Agents)