Skip to content

Instantly share code, notes, and snippets.

@beejhuff
Forked from erfanimani/.gitignore
Last active August 29, 2015 14:22
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 beejhuff/9b8e2d69b66cd8cff3ad to your computer and use it in GitHub Desktop.
Save beejhuff/9b8e2d69b66cd8cff3ad to your computer and use it in GitHub Desktop.
### MAGENTO DIRECTORIES
# Note: because of the wildcards/asterisks used, you can't do "git clean -fd ." without
# clearing everything in media and var. Also see http://stackoverflow.com/a/19442789/896657
# Ignore everything in media, except for the htaccess files
/media/*
/media/*/*
!/media/customer/.htaccess
!/media/downloadable/.htaccess
!/media/.htaccess
# If you want, you can ignore the downloader completely
# See http://magento.stackexchange.com/a/16513
# /downloader
# Ignore downloader cache and configuration files
/downloader/.cache/
/downloader/cache.cfg
/downloader/connect.cfg
# Ignore var directory, except for the htaccess file
/var/*
!/var/.htaccess
### CONFIGURATION
# These are specific to each environment
/app/etc/local.xml
/errors/local.xml
/app/etc/enterprise.xml
/.htaccess
### MAGENTO MISC FILES
# Note: index.php.sample is used to create new stores so you might want to keep this
/.htaccess.sample
/index.php.sample
/install.php
README
RELEASE_NOTES.txt
/php.ini.sample
sweet_tooth_license.txt
EVOLVED_EULA.rtf
/pkginfo/
/maintenance.flag
/includes/src/*
### TEMPORARY FILES
*~
### SNAPSHOT DUMPS
/snapshot/
### CSS AND SASS CACHE
# Any SASS and compiled stylesheets except for base and default since these might be used in fallbacks
# Comment out if not using SASS
.sass-cache/
/sass-cache/
/skin/frontend/*/*/css/
!/skin/frontend/base/default/css/
!/skin/frontend/default/default/css/
!/skin/frontend/rwd/default/css/
### BUNDLER
# If you're using bundler to manage Gems (like Sass, Compass, etc)
/.bundle/
### NPM
/npm-debug.log
### IDE'S AND/OR CI
.DS_Store
Thumbs.db
*.sublime-project
*.sublime-workspace
/.idea
/.buildpath/
/.project/
/.settings/
/nbproject/
/module_sources/
/database_dumps/
### TESTING
/firegento.php
### MODMAN
/.modman/
### COMPOSER
# Comment out if you're not using Magento hackathons copy deploystrategy
/vendor/
### PROJECT SPECIFIC
# add your project specific gitignore entries here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment