Skip to content

Instantly share code, notes, and snippets.

@MagePsycho
Created August 28, 2017 20:18
Show Gist options
  • Save MagePsycho/234e51b3fa50897e5e89bb378c295f21 to your computer and use it in GitHub Desktop.
Save MagePsycho/234e51b3fa50897e5e89bb378c295f21 to your computer and use it in GitHub Desktop.
Magento 1: Gitignore
# General web stuff
#/.htaccess
/robots.txt
/sitemap.xml
# Dynamic Magento data
/var/*
/media/catalog/product/cache/*
/media/tmp/
/media/js/*
/media/css/*.css
/app/etc/local.xml
#/errors/local.xml
/downloader/
# Various IDE & OS files
.DS_Store
*.swp
*.lock
__MACOSX
.idea
/nbproject/*
.project
.buildpath
.thumbs
Thumbs.db
build.properties
.settings
/_notes/*
/.modman/
/sandbox/
# 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/
# Project Specific goes here...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment