Skip to content

Instantly share code, notes, and snippets.

@lidocaine
Last active February 23, 2017 17: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 lidocaine/717b2f6feffc4d826cd2ad20858df43a to your computer and use it in GitHub Desktop.
Save lidocaine/717b2f6feffc4d826cd2ad20858df43a to your computer and use it in GitHub Desktop.
A "default" .gitignore designed to be used with minor customization on project init. This is an amalgamation of several templates with revisions/additions to suite my typical workflow/preferences.
.htaccess
#
# COMPOSER
#
composer.phar
/vendor/
#
# NODE
#
# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Typescript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
#
# WORDPRESS
#
wp-config.php
wp-content/advanced-cache.php
wp-content/backup-db/
wp-content/backups/
wp-content/blogs.dir/
wp-content/cache/
wp-content/upgrade/
wp-content/uploads/
wp-content/wp-cache-config.php
wp-content/plugins/hello.php
wp-content/themes/twenty*
# root-level-only
/.htaccess
/license.txt
/readme.html
/sitemap.xml
/sitemap.xml.gz
#
# GENERIC
#
# OS generated files
.DS_Store
ehthumbs.db
Thumbs.db
# other vcs files
.svn
# caches
.sass-cache
.codekit-cache
# Editor/IDE files
*.sublime-project
*.sublime-workspace
*.komodoproject
.idea
# logs
logs
*.log
# databases
*.sql
*.sqlite
# compiled files
*.com
*.class
*.dll
*.exe
*.o
*.so
# packaged files
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment