Skip to content

Instantly share code, notes, and snippets.

@croxton
Created March 19, 2014 10:11
Show Gist options
  • Save croxton/9638877 to your computer and use it in GitHub Desktop.
Save croxton/9638877 to your computer and use it in GitHub Desktop.
EE .gitignore
# Images #
##########
/public_html/images/captchas/*
/public_html/images/made/*
/public_html/images/remote/*
/public_html/images/member/*
/public_html/images/smileys/*
/public_html/images/avatars/uploads/*
/public_html/uploads/*
# Caches #
##########
sized/
thumbs/
_thumbs/
*/expressionengine/cache/*
/public_html/static_cache/*
/public_html/_assets/cache/*
/bak/*
# Webserver #
#############
/.cpaddons/*
/.cpanel/*
/.htpasswds/*
/.mozilla/*
/bin/*
/etc/*
/mail/*
/php/*
/public_ftp/*
/tmp/*
/www/*
/access-logs
.bash_logout
.bash_profile
.bashrc
.contactemail
.gemrc
.lastlogin
.pearrc
# 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
ehthumbs.db
Icon
Thumbs.db
@croxton
Copy link
Author

croxton commented Mar 19, 2014

My dir structure looks like this:

bak
config
public_html
   _assets
       cache
       css
       fonts
       htc
       img
       js
       third_party
   images
   static_cache
   themes
   uploads
       files
       images      
system
templates
   default_site
   stash
   variables

@croxton
Copy link
Author

croxton commented Mar 19, 2014

My live servers run cpanel on Centos, and that is reflected in the various bits and pieces I'm ignoring in # Webserver # section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment