Skip to content

Instantly share code, notes, and snippets.

@bgallagh3r
Created August 23, 2013 15:32
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save bgallagh3r/6320652 to your computer and use it in GitHub Desktop.
Save bgallagh3r/6320652 to your computer and use it in GitHub Desktop.
Global Gitignore for my Dev Environment. Stuff that doesn't need to be in my per-project .gitignore ever.
# Use in home dir.
# use git config --global core.excludesfile "%USERPROFILE%\.gitignore"
# or git config --global core.excludesfile "~\.gitignore"
# Global Scope to ignore NON-project based files.
# WordPress
.htaccess
wp-config.php
wp-content/uploads/
wp-content/blogs.dir/
wp-content/upgrade/
wp-content/backup-db/
wp-content/advanced-cache.php
wp-content/wp-cache-config.php
sitemap.xml
*.log
wp-content/cache/
wp-content/backups/
sitemap.xml.gz
# Sublime Text
*.sublime-project
*.sublime-workspace
# Hidden Folders
.DS_Store
.svn
.hg
# Dreamweaver
dwsync.xml
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# PHP Storm
.idea/
# Sass
*.sass-cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment