Skip to content

Instantly share code, notes, and snippets.

Last active April 22, 2022 00:06
  • Star 27 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Magento 1.x .gitignore
# Never save database creditentials in your repo. Keep a dummy copy with a different name eg ""
# If you'd like to keep the downloader, use the following instead:
# downloader/.cache
# downloader/cache.cfg
# downloader/connect.cfg
# All of the var folders can be excluded.
# Remove generated files
# If you'd like to commit media files, replace the above with the following:
# media/catalog/product/cache
# media/css
# media/css_secure
# media/js
# media/js_secure
# I use a global gitignore file for the following, but worth noting these:
# Don't commit composer dependencies:
Copy link

metame commented Jan 28, 2016

Tried this with Magento 1.9.x and still seems it's wanting me to go through Magento install when I open.

Copy link

Updated, as it hasn't been touched since July 2012. Thanks for the suggestions everyone. Keep 'em coming.

Copy link

al1357 commented Jul 24, 2018

What about ignoring maintenance.flag?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment