Ignoring Files in Git
Join the DZone community and get the full member experience.Join For Free
Quick tip on setting up files to be ignored for your system.
1. Execute the command setting the location of your system level ignore file
git config --global core.excludesfile ~/.gitignore
2. Edit the Global Git Ignore File: ~/.gitignore
3. Peek into your Global Git configuration ~/.gitconfig
name = Your Name
email = firstname.lastname@example.org
ui = auto
editor = mate
excludesfile = /Users/youruser/.gitignore
Further Reading – for more config options
Opinions expressed by DZone contributors are their own.