Skip to content

Instantly share code, notes, and snippets.

@CHERTS
Last active March 14, 2024 11:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CHERTS/f2199ff38446e6860211e608c890216f to your computer and use it in GitHub Desktop.
Save CHERTS/f2199ff38446e6860211e608c890216f to your computer and use it in GitHub Desktop.
Global Git excludes file
git config --global core.excludesfile ~/.gitignore_global
cat <<EOF > ~/.gitignore_global
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment