Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Git Ignore

The .gitignore file is useful for things that should not be included in Git.

# - Comments

/ - Directories, the first / is the root of the repo.

Example

This ignores the file itself, and the directory /book which is the build artifacts when mdbook is run.

ariadne@tesseract:~/git/network-notes$ cat .gitignore 
.gitignore
/book

References

Git - gitignore Documentation

Last Modified • Saturday, June 27, 2026. 11:45 pm UTC+00:00 • Commit: 4314778