spacemacs

Drew Verlee 2022-01-11T18:24:29.015700Z

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 Verlee 2022-01-11T18:25:15.016500Z

its called magit because its like magic for git, btw. i know i'm the first person to ever realize this.

practicalli-johnny 2022-01-11T18:40:55.018400Z

@drewverlee I use **/.clj-kondo/.cache as the pattern in my global gitignore config

👍 1
Drew Verlee 2022-01-11T18:44:12.018800Z

ty, ill look into why that works. i have seen it before and forgotten

practicalli-johnny 2022-01-11T19:04:21.022300Z

I believe the means any directory starting point, but not sure why it's required - need to read the docs again myself 🤣

practicalli-johnny 2022-01-11T19:06:33.023600Z

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

borkdude 2022-01-11T19:09:21.024Z

<just added to my global gitignore>

👍 1