Global .gitignore on MacOS
Nov 28, 2022
A short note. Found out a handy command for a global .gitignore on MacOS from this article
git config --global core.excludesfile ~/.gitignore
Obviously ~/.gitignore file has to be written beforehand.
touch ~/.gitignore
vim ~/.gitignore