ignoring files without using .gitignore
2025-03-04
Quick one: TIL you can ignore files without having to specify them in your .gitignore file.
Why do this? Well, I wanted a way to store some information that are not super relevant to a project (e.g. link dumps, commonly-used commands).
Anyway, you can do this by editing (or creating) .git/info/exclude.