Skip to content

Instantly share code, notes, and snippets.

@otterthecat
Last active February 7, 2019 19:30
Show Gist options
  • Save otterthecat/5692434 to your computer and use it in GitHub Desktop.
Save otterthecat/5692434 to your computer and use it in GitHub Desktop.
A template for setting .gitignore
# Installed Node Modules #
##########################
node_modules/
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# 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
Icon?
ehthumbs.db
Thumbs.db
# IDE / Editor Files #
######################
.idea/*
nbproject/*
.settings/org.eclipse.php.core.prefs
.project
.buildpath
*.sublime-project
*.sublime-workspace
*.swp
# GENERATED REPORTS #
#####################
reports/
metrics/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment