i added `.clj-kondo/.cache` to ~/.gitignore then ran `git config --global core.excludesfile ~/.gitignore.` I would now expect to not see .clj-kondo/.cache files in any project, but i do. given i these files both when i run git at the command line and magit i assume the line i added to my gitignore doesn't work.
its called magit because its like magic for git, btw. i know i'm the first person to ever realize this.
@drewverlee I use **/.clj-kondo/.cache as the pattern in my global gitignore config
ty, ill look into why that works. i have seen it before and forgotten
I believe the means any directory starting point, but not sure why it's required - need to read the docs again myself 🤣
I have a load of patterns in the git directory in this repo https://github.com/practicalli-john/dot-files-linux
<just added to my global gitignore>