Skip to content

Instantly share code, notes, and snippets.

@davebra
Created September 11, 2018 23:59
Show Gist options
  • Save davebra/4885177df3c71ed0a97ed4ab82e43f8c to your computer and use it in GitHub Desktop.
Save davebra/4885177df3c71ed0a97ed4ab82e43f8c to your computer and use it in GitHub Desktop.
Gitignore common list, check before usage
##### add your files to ignore
# examples:
# database.php
# folder/file.php
# folder/allfiles/*
##### OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
##### editor files
*.sublime-project
*.sublime-workspace
*.komodoproject
.buildpath
.project
.setting/*
.idea
.idea_modules/
.sass-cache
.vscode
.atom
##### log
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
##### db
*.sql
*.sqlite
##### compiled files
*.com
*.class
*.dll
*.exe
*.o
*.so
##### packaged files
*.7z
*.dmg
*.gz
*.bz2
*.iso
*.rar
*.tar
*.zip
# *.jar # depends on the project
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# compoments, dependecies and caches
.grunt
bower_components
.lock-wscript
build/Release
node_modules/
jspm_packages/
typings/
.npm
.eslintcache
.node_repl_history
*.tgz
.yarn-integrity
.env
.cache
.next
.nuxt
.vuepress/dist
.serverless
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment