Skip to content

Instantly share code, notes, and snippets.

@groggu
Created March 5, 2015 20:06
Show Gist options
  • Save groggu/cb66085765bab3356af0 to your computer and use it in GitHub Desktop.
Save groggu/cb66085765bab3356af0 to your computer and use it in GitHub Desktop.
magento default .gitignore
# General web stuff
/.htaccess
/robots.txt
/sitemap.xml
/google*
# Dynamic Magento data that doesn't need to be in the repo
/var/*
/media/*
/downloader/pearlib/cache/*
/downloader/pearlib/download/*
/app/etc/use_cache.ser
/app/etc/local.xml
/errors/local.xml
## Wordpress Uploads Excluded
/wp/wp-config.php
/wp/wp-content/uploads
# Various IDE & OS files that should never be committed
.DS_Store
*.swp
*.lock
__MACOSX
.idea
/nbproject/*
.project
.buildpath
.thumbs
Thumbs.db
build.properties
.project
.settings
.buildpath
/_notes/*
php_error_log
## Other Common File Extension Types Excluded
*.tmp
*.LCK
*.save
*.bck
*.sql
*.patch
## Typically, don't include archives
*.zip
*.tbz2
*.tgz
*.gz
## site specific ignores
## HE Development Tools
/app/code/community/HE/Baseurl/
/app/etc/modules/HE_Baseurl.xml
/test*.php
/db_dump.sh
/hetools/*
## Client Temp and Tools Directories Excluded
/tmp
/magmi
# Explicitly mark as "do not exclude/ignore these from GIT repository"
!/app/.htaccess
!/downloader/.htaccess
!/downloader/template/.htaccess
!/errors/.htaccess
!/includes/.htaccess
!/lib/.htaccess
!/media/.htaccess
!/media/customer/.htaccess
!/media/downloadable/.htaccess
!/pkginfo/.htaccess
!/var/.htaccess
!var/package/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment