📚 Blog Archive

Ignore a file globally in git

· Miguel Parramón · blogger

Set up a global .gitignore:
git config —global core.excludesfile ~/.gitignore_global
Put the file name in the global gitignore file:
echo ”.DS_Store” >> ~/.gitignore_global
Done!

View original post →