Fork me on GitHub
Drew Verlee18:01:29

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.

Drew Verlee18:01:15

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

👍 1
Drew Verlee18:01:12

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 :rolling_on_the_floor_laughing:


I have a load of patterns in the git directory in this repo


<just added to my global gitignore>

👍 1