From 680d8922cb19782213db261bb64d5343a6a6b863 Mon Sep 17 00:00:00 2001 From: leogent Date: Thu, 20 Jan 2022 23:46:20 +0700 Subject: [PATCH] Add .gitignore for Magento 2 --- Magento2.gitignore | 72 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 Magento2.gitignore diff --git a/Magento2.gitignore b/Magento2.gitignore new file mode 100644 index 00000000..7092a568 --- /dev/null +++ b/Magento2.gitignore @@ -0,0 +1,72 @@ +/.buildpath +/.cache +/.metadata +/.project +/.settings +/.vscode +atlassian* +/nbproject +/robots.txt +/pub/robots.txt +/sitemap +/sitemap.xml +/pub/sitemap +/pub/sitemap.xml +/.idea +/.gitattributes +/app/config_sandbox +/app/etc/config.php +/app/etc/env.php +/app/code/Magento/TestModule* +/lib/internal/flex/uploader/.actionScriptProperties +/lib/internal/flex/uploader/.flexProperties +/lib/internal/flex/uploader/.project +/lib/internal/flex/uploader/.settings +/lib/internal/flex/varien/.actionScriptProperties +/lib/internal/flex/varien/.flexLibProperties +/lib/internal/flex/varien/.project +/lib/internal/flex/varien/.settings +/node_modules +/.grunt +/Gruntfile.js +/package.json +/.php_cs +/.php_cs.cache +/grunt-config.json +/pub/media/*.* +!/pub/media/.htaccess +/pub/media/attribute/* +!/pub/media/attribute/.htaccess +/pub/media/analytics/* +/pub/media/catalog/* +!/pub/media/catalog/.htaccess +/pub/media/customer/* +!/pub/media/customer/.htaccess +/pub/media/downloadable/* +!/pub/media/downloadable/.htaccess +/pub/media/favicon/* +/pub/media/import/* +!/pub/media/import/.htaccess +/pub/media/logo/* +/pub/media/custom_options/* +!/pub/media/custom_options/.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/media/sitemap/* +!/pub/media/sitemap/.htaccess +/pub/static/* +!/pub/static/.htaccess + +/var/* +!/var/.htaccess +/vendor/* +!/vendor/.htaccess +/generated/* +!/generated/.htaccess +.DS_Store