you may have a personal notes.txt file in a repository that you don’t want to check into git but you also don’t want to add to .gitignore because it’s unique to your workflow.
The exclude file lives in the .git directory of every Git repository but changes to it are not checked into Git
Wtf. I've always wanted this, and it was right there.
> Wtf. I've always wanted this, and it was right there.
Haha, same! I was literally looking for this feature last week without realising.
What could be more git- the problem is rarely that it can't do something, but the ergonomics of discovering how to make it work correctly.