-
-
Save antoinekociuba/cbb680a09e40819dc82f13580b42ecd7 to your computer and use it in GitHub Desktop.
Magento .gitignore example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################### | |
# Magento .gitignore # | |
###################### | |
# Magento Core unnecessary files # | |
################################## | |
/errors/local.xml | |
/index.php | |
/install.php | |
/mage | |
/php.ini | |
/php.ini.sample | |
downloader/* | |
includes/* | |
pkginfo/* | |
/PATCH* | |
# Maintenance flag # | |
#################### | |
maintenance.flag | |
# Env, configuration and setup related files # | |
############################################## | |
/.htaccess | |
app/etc/local.xml | |
# var, and static assets # | |
########################## | |
media/* | |
!/media/.htaccess | |
!/media/customer/ | |
!/media/customer/.htaccess | |
!/media/downloadable/ | |
!/media/downloadable/.htaccess | |
var/* | |
!var/.htaccess | |
# Magmi files # | |
############### | |
/magmi/state/* | |
!/magmi/state/dummy.txt | |
/magmi/conf/magmi.ini | |
# Do not version CSV data source configurations, as file paths are instance dependents | |
/magmi/conf/Magmi_CSVDataSource.conf | |
/magmi/conf/*/Magmi_CSVDataSource.conf | |
# IDE files # | |
############# | |
.project | |
.idea/* | |
.buildpath | |
.settings | |
# System files # | |
################ | |
.*~ | |
*~ | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
Icon? | |
ehthumbs.db | |
Thumbs.db | |
# Logs and databases # | |
###################### | |
*.log | |
*.sql | |
*.sqlite | |
# Redis dump # | |
############## | |
dump.rdb | |
# Sass files # | |
############## | |
**/.sass-cache/ | |
# Node and node-related files # | |
############################### | |
gulpfile.js | |
node_modules/* | |
# Project specific files # | |
########################## | |
_utils/bdd/* | |
_utils/_gitignored/* | |
.modman | |
/feeds | |
/*.tar | |
/*.bz2 | |
/*.rdb | |
/*.xml | |
nohup.out | |
*.7z | |
*.dmg | |
*.gz | |
*.iso | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
*.swp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/.buildpath | |
/.cache | |
/.metadata | |
/.project | |
/.settings | |
atlassian* | |
/nbproject | |
/sitemap | |
/.idea | |
/.gitattributes | |
node_modules | |
/app/code/Magento | |
/app/design/*/Magento | |
/app/etc | |
/app/i18n/magento | |
/app/*.* | |
/bin | |
/dev/shell | |
/dev/tests/*/framework | |
/dev/tests/*/testsuite/Magento | |
/dev/tests/*/tmp | |
/dev/tests/*/etc | |
/dev/tests/*/*.* | |
/dev/tests/*.* | |
/dev/tests/api-functional/config | |
/dev/tests/api-functional/_files/Magento | |
/dev/tests/js/JsTestDriver/framework | |
/dev/tests/js/JsTestDriver/testsuite/lib | |
/dev/tests/js/JsTestDriver/testsuite/mage | |
/dev/tests/js/JsTestDriver/*.* | |
/dev/tests/js/jasmine/assets | |
/dev/tests/js/jasmine/spec_runner | |
/dev/tests/js/jasmine/tests/app/code/Magento | |
/dev/tests/js/jasmine/tests/lib/mage | |
/dev/tests/js/jasmine/*.* | |
/dev/tests/performance | |
/dev/tests/functional/lib/Magento | |
/dev/tests/functional/tests/app/Magento | |
/dev/tests/functional/testsuites/Magento | |
/dev/tests/functional/utils | |
/dev/tools/Magento | |
/dev/tools/grunt | |
/dev/tools/*.* | |
/dev/travis/*.* | |
/dev/*.* | |
!/dev/soon_appjs | |
/lib | |
/pub | |
/setup | |
/var | |
/vendor | |
/update | |
/phpserver | |
**/node_modules/ | |
npm-debug.log | |
/*.* | |
!/.gitignore | |
!/composer.json | |
!/composer.lock | |
!/README.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment