Skip to content

Instantly share code, notes, and snippets.

@Fantikerz
Created May 11, 2013 03: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 Fantikerz/5558748 to your computer and use it in GitHub Desktop.
Save Fantikerz/5558748 to your computer and use it in GitHub Desktop.
Web developer-centric gitignore. Tailored for a CakePHP, CodeIgniter, and Wordpress under a Sublime Text 2 workflow.
######################
## Operating System ##
######################
# Windows
Thumbs.db
Desktop.ini
# OSX
.DS_Store
##################
## Applications ##
##################
# Photoshop
*.psd
# Sublime Text 2
*.sublime-workspace
*.sublime-project
sftp-config.json
#############
## CakePHP ##
#############
tmp/*
[Cc]onfig/core.php
[Cc]onfig/database.php
app/tmp/*
app/[Cc]onfig/core.php
app/[Cc]onfig/database.php
!empty
#################
## CodeIgniter ##
#################
*/config/development
*/logs/log-*.php
*/logs/!index.html
*/cache/*
*/cache/!index.html
###############
## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment