PrestaShop के लिए .gitignore
PrestaShop के लिए 135 अनदेखा करने के नियम, आपकी रिपॉज़िटरी में कॉपी करने के लिए तैयार।
ई-कॉमर्स प्लेटफार्म
PrestaShop के लिए पूरी .gitignore
# LFGitignore द्वारा बनाया गया - https://lfgitignore.com
# बनाने की तारीख: 2026-10-31 23:01:19 UTC
# तकनीकें: Prestashop
### Prestashop ###
/.htaccess
# बोटा दस्तावेज
*.log
/cache/*
!/cache/.htaccess
!/cache/cachefs/index.php
!/cache/deprecated.txt
!/cache/index.php
!/cache/purifier/index.php
!/cache/push/activity
!/cache/push/index.php
!/cache/push/trends
!/cache/sandbox/index.php
!/cache/smarty/cache/index.php
!/cache/smarty/compile/index.php
!/cache/smarty/index.php
!/cache/tcpdf/index.php
/download/*
!/download/.htaccess
!/download/index.php
/img/*
!/img/.htaccess
!/img/index.php
!/img/404.gif
!/img/bg_500.png
!/img/bg_loader.png
!/img/favicon.ico
!/img/loader.gif
!/img/loadingAnimation.gif
!/img/logo.jpg
!/img/logo.png
!/img/logo_invoice.jpg
!/img/logo_stores.png
!/img/macFFBgHack.png
!/img/prestashop-avatar.png
!/img/prestashop@2x.png
!/img/preston-login-wink@2x.png
!/img/preston-login@2x.png
!/img/questionmark.png
!/img/genders/index.php
!/img/admin/index.php
!/img/c/index.php
!/img/cms/index.php
!/img/co/index.php
!/img/jquery-ui
!/img/l/index.php
!/img/m/index.php
!/img/os/index.php
!/img/p/index.php
!/img/s/index.php
!/img/scenes
!/img/st/index.php
!/img/su/index.php
!/img/t/index.php
!/img/tmp/index.php
/upload/*
!/upload/.htaccess
/vendor/*
/docs/phpdoc-sf/
/composer.lock
*.hot-update.js
*.hot-update.json
/admin-dev/autoupgrade/*
!/admin-dev/autoupgrade/index.php
!/admin-dev/autoupgrade/backup/index.php
/admin-dev/backups/*
!/admin-dev/backups/.htaccess
/admin-dev/import/*
!/admin-dev/import/.htaccess
!/admin-dev/import/index.php
/admin-dev/export/*
!/admin-dev/export/.htaccess
!/admin-dev/export/index.php
/admin-dev/themes/default/css/bundle/default_rtl.css
/admin-dev/themes/default/css/bundle/shared_rtl.css
/admin-dev/themes/default/css/font_rtl.css
/admin-dev/themes/default/css/overrides_rtl.css
/admin-dev/themes/default/css/vendor/font-awesome/font-awesome_rtl.css
/admin-dev/themes/default/css/vendor/nv.d3_rtl.css
/admin-dev/themes/default/css/vendor/titatoggle-min_rtl.css
/admin-dev/themes/default/public/theme_rtl.css
/admin-dev/themes/new-theme/css/module/drop_rtl.css
/admin-dev/themes/new-theme/css/right-sidebar_rtl.css
themes/*/cache/*
config/settings.inc.php
config/settings.old.php
config/xml/*
config/themes/*
!config/xml/themes/default.xml
themes/*/config/settings_*.json
app/config/parameters.old.yml
app/config/config.php
modules/*
override/*
themes/*/
!themes/classic
!themes/_core
!themes/_libraries
bower_components/
# Node.js निर्भरताएँ
node_modules/
composer.phar
php-cs-fixer
.grunt/*
translations/*
mails/*
!mails/themes/
!mails/_partials/
themes/default-bootstrap/lang/*
themes/default-bootstrap/modules/*/translations/*.php
themes/default-bootstrap/mails/*
!themes/default-bootstrap/mails/en/
themes/default-bootstrap/modules/*/mails/*
!themes/default-bootstrap/modules/*/mails/en
*sitemap.xml
/robots.txt
/bin/
/app/Resources/geoip/GeoLite2-City.mmdb
/app/Resources/translations/*
!/app/Resources/translations/default
/app/config/parameters.yml
/app/config/parameters.php
/build/
/phpunit.xml
/var/*
!/var/cache
/var/cache/*
!var/cache/.gitkeep
!/var/logs
/var/logs/*
!var/logs/.gitkeep
!/var/sessions
/var/sessions/*
!var/sessions/.gitkeep
!var/SymfonyRequirements.php
/vendor/
/web/bundles/
PrestaShop के ये नियम किन चीज़ों को अनदेखा करते हैं
नीचे हर पैटर्न और उसे .gitignore में शामिल करने का कारण दिया गया है।
कैश, अस्थायी और व्यक्तिगत फ़ाइलें
| पैटर्न | यह क्या अनदेखा करता है |
|---|---|
/.htaccess |
कैश, अस्थायी और व्यक्तिगत फ़ाइलें |
*.log |
बोटा दस्तावेज |
कैश
| पैटर्न | यह क्या अनदेखा करता है |
|---|---|
/cache/* |
कैश |
!/cache/.htaccess |
कैश |
!/cache/cachefs/index.php |
कैश |
!/cache/deprecated.txt |
कैश |
!/cache/index.php |
कैश |
!/cache/purifier/index.php |
कैश |
!/cache/push/activity |
कैश |
!/cache/push/index.php |
कैश |
!/cache/push/trends |
कैश |
!/cache/sandbox/index.php |
कैश |
!/cache/smarty/cache/index.php |
कैश |
!/cache/smarty/compile/index.php |
कैश |
!/cache/smarty/index.php |
कैश |
!/cache/tcpdf/index.php |
कैश |
डाउनलोड करना
| पैटर्न | यह क्या अनदेखा करता है |
|---|---|
/download/* |
डाउनलोड करना |
!/download/.htaccess |
डाउनलोड करना |
!/download/index.php |
डाउनलोड करना |
Images
| पैटर्न | यह क्या अनदेखा करता है |
|---|---|
/img/* |
Images |
!/img/.htaccess |
Images |
!/img/index.php |
Images |
!/img/404.gif |
Images |
!/img/bg_500.png |
Images |
!/img/bg_loader.png |
Images |
!/img/favicon.ico |
Images |
!/img/loader.gif |
Images |
!/img/loadingAnimation.gif |
Images |
!/img/logo.jpg |
Images |
!/img/logo.png |
Images |
!/img/logo_invoice.jpg |
Images |
!/img/logo_stores.png |
Images |
!/img/macFFBgHack.png |
Images |
!/img/prestashop-avatar.png |
Images |
!/img/prestashop@2x.png |
Images |
!/img/preston-login-wink@2x.png |
Images |
!/img/preston-login@2x.png |
Images |
!/img/questionmark.png |
Images |
!/img/genders/index.php |
Images |
!/img/admin/index.php |
Images |
!/img/c/index.php |
Images |
!/img/cms/index.php |
Images |
!/img/co/index.php |
Images |
!/img/jquery-ui |
Images |
!/img/l/index.php |
Images |
!/img/m/index.php |
Images |
!/img/os/index.php |
Images |
!/img/p/index.php |
Images |
!/img/s/index.php |
Images |
!/img/scenes |
Images |
!/img/st/index.php |
Images |
!/img/su/index.php |
Images |
!/img/t/index.php |
Images |
!/img/tmp/index.php |
Images |
अपलोड करें
| पैटर्न | यह क्या अनदेखा करता है |
|---|---|
/upload/* |
अपलोड करें |
!/upload/.htaccess |
अपलोड करें |
/vendor/* |
अपलोड करें |
/docs/phpdoc-sf/ |
अपलोड करें |
/composer.lock |
अपलोड करें |
*.hot-update.js |
अपलोड करें |
*.hot-update.json |
अपलोड करें |
/admin-dev/autoupgrade/* |
अपलोड करें |
!/admin-dev/autoupgrade/index.php |
अपलोड करें |
!/admin-dev/autoupgrade/backup/index.php |
अपलोड करें |
/admin-dev/backups/* |
अपलोड करें |
!/admin-dev/backups/.htaccess |
अपलोड करें |
/admin-dev/import/* |
अपलोड करें |
!/admin-dev/import/.htaccess |
अपलोड करें |
!/admin-dev/import/index.php |
अपलोड करें |
/admin-dev/export/* |
अपलोड करें |
!/admin-dev/export/.htaccess |
अपलोड करें |
!/admin-dev/export/index.php |
अपलोड करें |
आरटीएल फ़ाइलें डाउनलोड की गईं
| पैटर्न | यह क्या अनदेखा करता है |
|---|---|
/admin-dev/themes/default/css/bundle/default_rtl.css |
आरटीएल फ़ाइलें डाउनलोड की गईं |
/admin-dev/themes/default/css/bundle/shared_rtl.css |
आरटीएल फ़ाइलें डाउनलोड की गईं |
/admin-dev/themes/default/css/font_rtl.css |
आरटीएल फ़ाइलें डाउनलोड की गईं |
/admin-dev/themes/default/css/overrides_rtl.css |
आरटीएल फ़ाइलें डाउनलोड की गईं |
/admin-dev/themes/default/css/vendor/font-awesome/font-awesome_rtl.css |
आरटीएल फ़ाइलें डाउनलोड की गईं |
/admin-dev/themes/default/css/vendor/nv.d3_rtl.css |
आरटीएल फ़ाइलें डाउनलोड की गईं |
/admin-dev/themes/default/css/vendor/titatoggle-min_rtl.css |
आरटीएल फ़ाइलें डाउनलोड की गईं |
/admin-dev/themes/default/public/theme_rtl.css |
आरटीएल फ़ाइलें डाउनलोड की गईं |
/admin-dev/themes/new-theme/css/module/drop_rtl.css |
आरटीएल फ़ाइलें डाउनलोड की गईं |
/admin-dev/themes/new-theme/css/right-sidebar_rtl.css |
आरटीएल फ़ाइलें डाउनलोड की गईं |
themes/*/cache/* |
आरटीएल फ़ाइलें डाउनलोड की गईं |
कॉन्फ़िग
| पैटर्न | यह क्या अनदेखा करता है |
|---|---|
config/settings.inc.php |
कॉन्फ़िग |
config/settings.old.php |
कॉन्फ़िग |
config/xml/* |
कॉन्फ़िग |
config/themes/* |
कॉन्फ़िग |
!config/xml/themes/default.xml |
कॉन्फ़िग |
themes/*/config/settings_*.json |
कॉन्फ़िग |
app/config/parameters.old.yml |
कॉन्फ़िग |
app/config/config.php |
कॉन्फ़िग |
थीम, मॉड्यूल और ओवरराइड
| पैटर्न | यह क्या अनदेखा करता है |
|---|---|
modules/* |
थीम, मॉड्यूल और ओवरराइड |
override/* |
थीम, मॉड्यूल और ओवरराइड |
themes/*/ |
थीम, मॉड्यूल और ओवरराइड |
!themes/classic |
थीम, मॉड्यूल और ओवरराइड |
!themes/_core |
थीम, मॉड्यूल और ओवरराइड |
!themes/_libraries |
थीम, मॉड्यूल और ओवरराइड |
विक्रेता और निर्भरताएँ
| पैटर्न | यह क्या अनदेखा करता है |
|---|---|
bower_components/ |
विक्रेता और निर्भरताएँ |
node_modules/ |
Node.js निर्भरताएँ |
composer.phar |
विक्रेता और निर्भरताएँ |
php-cs-fixer |
विक्रेता और निर्भरताएँ |
.grunt/* |
विक्रेता और निर्भरताएँ |
अनुवाद और ईमेल टेम्पलेट
| पैटर्न | यह क्या अनदेखा करता है |
|---|---|
translations/* |
अनुवाद और ईमेल टेम्पलेट |
mails/* |
अनुवाद और ईमेल टेम्पलेट |
!mails/themes/ |
अनुवाद और ईमेल टेम्पलेट |
!mails/_partials/ |
अनुवाद और ईमेल टेम्पलेट |
themes/default-bootstrap/lang/* |
अनुवाद और ईमेल टेम्पलेट |
themes/default-bootstrap/modules/*/translations/*.php |
अनुवाद और ईमेल टेम्पलेट |
themes/default-bootstrap/mails/* |
अनुवाद और ईमेल टेम्पलेट |
!themes/default-bootstrap/mails/en/ |
अनुवाद और ईमेल टेम्पलेट |
themes/default-bootstrap/modules/*/mails/* |
अनुवाद और ईमेल टेम्पलेट |
!themes/default-bootstrap/modules/*/mails/en |
अनुवाद और ईमेल टेम्पलेट |
विविध
| पैटर्न | यह क्या अनदेखा करता है |
|---|---|
*sitemap.xml |
विविध |
/robots.txt |
विविध |
Symfony
| पैटर्न | यह क्या अनदेखा करता है |
|---|---|
/bin/ |
Symfony |
/app/Resources/geoip/GeoLite2-City.mmdb |
Symfony |
/app/Resources/translations/* |
Symfony |
!/app/Resources/translations/default |
Symfony |
/app/config/parameters.yml |
Symfony |
/app/config/parameters.php |
Symfony |
/build/ |
Symfony |
/phpunit.xml |
Symfony |
/var/* |
Symfony |
!/var/cache |
Symfony |
/var/cache/* |
Symfony |
!var/cache/.gitkeep |
Symfony |
!/var/logs |
Symfony |
/var/logs/* |
Symfony |
!var/logs/.gitkeep |
Symfony |
!/var/sessions |
Symfony |
/var/sessions/* |
Symfony |
!var/sessions/.gitkeep |
Symfony |
!var/SymfonyRequirements.php |
Symfony |
/vendor/ |
Symfony |
/web/bundles/ |
Symfony |
PrestaShop के लिए इस .gitignore का उपयोग कैसे करें
- ऊपर दिए गए PrestaShop के नियम कॉपी करें या फ़ाइल सीधे डाउनलोड करें।
- अपनी Git रिपॉज़िटरी के मूल फ़ोल्डर में .gitignore नाम की फ़ाइल बनाएँ और उसमें नियम पेस्ट करें।
- यदि इनमें से कुछ फ़ाइलें पहले से ट्रैक हो रही हैं, तो git rm -r --cached . चलाएँ और फिर से कमिट करें — Git केवल ट्रैक न की गई फ़ाइलों पर अनदेखा करने के नियम लागू करता है।
- .gitignore कमिट करें ताकि टीम के सभी सदस्य एक जैसे नियम इस्तेमाल करें।