Skip to content

Instantly share code, notes, and snippets.

@tunght13488
Forked from hiephm/.gitignore
Created April 20, 2016 07:30
Show Gist options
  • Save tunght13488/22d9823327f6dcdf81bec8f004782a13 to your computer and use it in GitHub Desktop.
Save tunght13488/22d9823327f6dcdf81bec8f004782a13 to your computer and use it in GitHub Desktop.
Magento 2 git ignore (NOT for composer installation)
/.idea
/app/etc/env.php
/app/etc/redis.php
/pub/media/*
!/pub/media/.htaccess
/pub/media/catalog/*
!/pub/media/catalog/.htaccess
/pub/media/customer/*
!/pub/media/customer/.htaccess
/pub/media/downloadable/*
!/pub/media/downloadable/.htaccess
/pub/media/import/*
!/pub/media/import/.htaccess
/pub/media/theme/*
/pub/media/theme_customization/*
!/pub/media/theme_customization/.htaccess
/pub/media/wysiwyg/*
!/pub/media/wysiwyg/.htaccess
/pub/media/tmp/*
!/pub/media/tmp/.htaccess
/pub/media/captcha/*
/pub/static/*
!/pub/static/.htaccess
/var/*
!/var/.htaccess
/node_modules/*
!/node_modules/.htaccess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment