2 ms·
You can use ~/.config/git/ignore (core.excludesFile).
by yencabulator 1y ago
You can use ~/.config/git/ignore (core.excludesFile).
- hk1337 1y agoIs that an automatic/default setting or did you just pick that path and you have to set the ignore filename in .gitconfig? Because, I know I could name it ~/.gitignore_global too.
- yencabulator 1y agoThat's the default path, you can change it. Original comment has the config variable.
- hk1337 1y agothat's pretty cool. I didn't realize that. when I first started that wasn't how it was being used so I never picked up on it. Using .config/git/ saves me a couple of lines in the config file.