Skip to content

Instantly share code, notes, and snippets.

@l3dlp
Forked from octocat/.gitignore
Last active November 8, 2018 21:09
Show Gist options
  • Save l3dlp/dac96a9a45eb45096fb4b568ad16b8d2 to your computer and use it in GitHub Desktop.
Save l3dlp/dac96a9a45eb45096fb4b568ad16b8d2 to your computer and use it in GitHub Desktop.
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# PHP source #
##############
db.php
wp-config.php
config.inc.php
# 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
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment