Skip to content

Instantly share code, notes, and snippets.

@mtunjic
Forked from jacobtomlinson/.gitignore_global
Created December 2, 2020 21:04
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 mtunjic/cce886241e5e34b9ba665725a0972c2c to your computer and use it in GitHub Desktop.
Save mtunjic/cce886241e5e34b9ba665725a0972c2c to your computer and use it in GitHub Desktop.
An example global gitignore file
# An example global gitignore file
#
# Place a copy if this at ~/.gitignore_global
# Run `git config --global core.excludesfile ~/.gitignore_global`
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc
*.pyo
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.msi
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
desktop.ini
# Temporary files #
###################
*.bak
*.swp
*.swo
*~
*#
# IDE files #
#############
.vscode
.idea
.iml
*.sublime-workspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment