Sam's world

A stream of thought, whim, and wisdom


Gitignore: two tricks

Discover two techniques to ignore files from a Git-based version controlled project. The first technique enables Git to ignore every file in a directory other than the directory itself. The second technique enables a user to automatically ignore a file without adding it to a project’s root gitignore.