Skip to content

Instantly share code, notes, and snippets.

@svenvarkel
Created December 4, 2013 09:25
Show Gist options
  • Save svenvarkel/7784721 to your computer and use it in GitHub Desktop.
Save svenvarkel/7784721 to your computer and use it in GitHub Desktop.
A reference .gitignore file for Magento 1.* projects
#
# .gitignore version 1.0-beta
#
# For the reference see the folder structure here:
# http://measure9.varkel.net/2013/10/setting-up-magento-development-environment-step-by-step-part-3-naming-and-structure/
#
# System files, special files
#
.DS_Store
._*
.AppleDouble
.DS_Store
.VolumeIcon.icns
.fseventsd
.svn/
Icon^M
#
# Most used IDE project folders
#
/nbproject/private
/.project
/.settings
/.idea
#
# Magento sessions, caches and configurations
#
/public/var/*
/public/downloader/pearlib/cache/
/public/downloader/.cache
/public/downloader/cache.cfg
/public/downloader/connect.cfg
/public/includes/
#
# But you'd still want to have information about installed extensions
# and packages
#
!/public/var/package/
!/public/var/connect/
/public/var/package/tmp
#
# Environment specific configuration files
#
/public/app/etc/local.xml
/public/errors/local.xml
#
# Media should not be versioned in the main project
#
/public/media/
#
# Working files under database dumps
#
/database/dumps/*
#
# Helps to keep your production branch clean
# if you have published Google sitemaps
#
/public/sitemaps/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment