Skip to content

Instantly share code, notes, and snippets.

@wienczny
Last active August 29, 2015 14:27
Show Gist options
  • Save wienczny/7e6f19e8e51b773aa162 to your computer and use it in GitHub Desktop.
Save wienczny/7e6f19e8e51b773aa162 to your computer and use it in GitHub Desktop.
Magento .gitignore File
# Exclude backups, archives and logs
*.tar
*.gz
*.sql
*.log
*.tar.gz
*.zip
*.rar
*.tgz
# Exclude OS trash
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Exclude Sitemap and robots.txt
sitemap.xml
robots.txt
# Exclude IDEs directories
.idea
nbproject
# Exclude Magento var dir
var/cache
var/session
var/log
var/locks
var/export
var/import
var/importexport
var/report
var/tmp
var/resource_config.json
var/data-response.txt
var/data.txt
var/package
#Exclude Magmi
magmi
#Exclude Magento media directory
media
!media/.htaccess
!media/xmlconnect
!media/wysiwyg
!media/downloadable
!media/dhl
!media/customer
#Exclude webstat
webstat
index.html
#Exclude other Magento dirs
pkginfo
downloader
includes
#Exclude configs
app/etc/local.xml
#Downloader
downloader/config.*
downloader/.cache
#Other
magicento.phpstorm.meta.php
.tmp_*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment