Brendan Dawes
Analogue + Digital

Process

Exclude files from git without committing changes to .gitignore

Exclude files from git without committing changes to .gitignore

This is a really great way to ignore certain files in a git repository that may be project specific or just local to you. Instead of littering your main .gitignore with these excludes you can simply add them to a list residing in .git/info/exclude — and you don’t have to commit it either.