TIL: Git Exclude

Local-only git ignore.

I came across "Git exclude, a handy feature you might not know about" by Marijke Luttekes, and TIL that git has a local-only ignore files feature. Unlike .gitignore, you can put file paths to be ignored by git into .git/info/exclude, but there's no file checked into tracked files, so your ignored files aren't shared with people you're working with. Useful for local notes or snippets or your favorite text editor's repo-specific configuration.