Skip to content

Instantly share code, notes, and snippets.

@jacobtomlinson
Created August 18, 2017 10:08
Show Gist options
  • Save jacobtomlinson/aace65a6920e44348d501da5e13a5a17 to your computer and use it in GitHub Desktop.
Save jacobtomlinson/aace65a6920e44348d501da5e13a5a17 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
@justinmeiners
Copy link

.sql may not be ideal as that is typically sql code. Here you are probably assuming it's a backup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment