Fork me on GitHub
#spacemacs
<
2022-01-11
>
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.

practicalli-johnny18:01:55

@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

practicalli-johnny19:01:21

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:

practicalli-johnny19:01:33

I have a load of patterns in the git directory in this repo https://github.com/practicalli-john/dot-files-linux

borkdude19:01:21

<just added to my global gitignore>

👍 1