Ludovic Frank Gitignore

PrestaShop için .gitignore

PrestaShop için deponuza kopyalamaya hazır 135 yoksayma kuralı.

E-ticaret platformu

PrestaShop için eksiksiz .gitignore

# LFGitignore tarafından oluşturuldu - https://lfgitignore.com
# Oluşturuldu: 2026-10-31 21:54:10 UTC
# Teknolojiler: Prestashop

### Prestashop ###
/.htaccess
# Günlük dosyası
*.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 bağımlılıkları
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/

Bu PrestaShop kurallarının aslında neyi göz ardı ettiği

Aşağıda tüm desenleri ve .gitignore dosyanızda neden yer almaları gerektiğini görebilirsiniz.

Önbellek, geçici ve kişisel dosyalar

Desen Yoksaydıkları
/.htaccess Önbellek, geçici ve kişisel dosyalar
*.log Günlük dosyası

Önbellek

Desen Yoksaydıkları
/cache/* Önbellek
!/cache/.htaccess Önbellek
!/cache/cachefs/index.php Önbellek
!/cache/deprecated.txt Önbellek
!/cache/index.php Önbellek
!/cache/purifier/index.php Önbellek
!/cache/push/activity Önbellek
!/cache/push/index.php Önbellek
!/cache/push/trends Önbellek
!/cache/sandbox/index.php Önbellek
!/cache/smarty/cache/index.php Önbellek
!/cache/smarty/compile/index.php Önbellek
!/cache/smarty/index.php Önbellek
!/cache/tcpdf/index.php Önbellek

İndirmek

Desen Yoksaydıkları
/download/* İndirmek
!/download/.htaccess İndirmek
!/download/index.php İndirmek

Görseller

Desen Yoksaydıkları
/img/* Görseller
!/img/.htaccess Görseller
!/img/index.php Görseller
!/img/404.gif Görseller
!/img/bg_500.png Görseller
!/img/bg_loader.png Görseller
!/img/favicon.ico Görseller
!/img/loader.gif Görseller
!/img/loadingAnimation.gif Görseller
!/img/logo.jpg Görseller
!/img/logo.png Görseller
!/img/logo_invoice.jpg Görseller
!/img/logo_stores.png Görseller
!/img/macFFBgHack.png Görseller
!/img/prestashop-avatar.png Görseller
!/img/prestashop@2x.png Görseller
!/img/preston-login-wink@2x.png Görseller
!/img/preston-login@2x.png Görseller
!/img/questionmark.png Görseller
!/img/genders/index.php Görseller
!/img/admin/index.php Görseller
!/img/c/index.php Görseller
!/img/cms/index.php Görseller
!/img/co/index.php Görseller
!/img/jquery-ui Görseller
!/img/l/index.php Görseller
!/img/m/index.php Görseller
!/img/os/index.php Görseller
!/img/p/index.php Görseller
!/img/s/index.php Görseller
!/img/scenes Görseller
!/img/st/index.php Görseller
!/img/su/index.php Görseller
!/img/t/index.php Görseller
!/img/tmp/index.php Görseller

Yüklemek

Desen Yoksaydıkları
/upload/* Yüklemek
!/upload/.htaccess Yüklemek
/vendor/* Yüklemek
/docs/phpdoc-sf/ Yüklemek
/composer.lock Yüklemek
*.hot-update.js Yüklemek
*.hot-update.json Yüklemek
/admin-dev/autoupgrade/* Yüklemek
!/admin-dev/autoupgrade/index.php Yüklemek
!/admin-dev/autoupgrade/backup/index.php Yüklemek
/admin-dev/backups/* Yüklemek
!/admin-dev/backups/.htaccess Yüklemek
/admin-dev/import/* Yüklemek
!/admin-dev/import/.htaccess Yüklemek
!/admin-dev/import/index.php Yüklemek
/admin-dev/export/* Yüklemek
!/admin-dev/export/.htaccess Yüklemek
!/admin-dev/export/index.php Yüklemek

İndirilen RTL dosyaları

Desen Yoksaydıkları
/admin-dev/themes/default/css/bundle/default_rtl.css İndirilen RTL dosyaları
/admin-dev/themes/default/css/bundle/shared_rtl.css İndirilen RTL dosyaları
/admin-dev/themes/default/css/font_rtl.css İndirilen RTL dosyaları
/admin-dev/themes/default/css/overrides_rtl.css İndirilen RTL dosyaları
/admin-dev/themes/default/css/vendor/font-awesome/font-awesome_rtl.css İndirilen RTL dosyaları
/admin-dev/themes/default/css/vendor/nv.d3_rtl.css İndirilen RTL dosyaları
/admin-dev/themes/default/css/vendor/titatoggle-min_rtl.css İndirilen RTL dosyaları
/admin-dev/themes/default/public/theme_rtl.css İndirilen RTL dosyaları
/admin-dev/themes/new-theme/css/module/drop_rtl.css İndirilen RTL dosyaları
/admin-dev/themes/new-theme/css/right-sidebar_rtl.css İndirilen RTL dosyaları
themes/*/cache/* İndirilen RTL dosyaları

Yapılandırma

Desen Yoksaydıkları
config/settings.inc.php Yapılandırma
config/settings.old.php Yapılandırma
config/xml/* Yapılandırma
config/themes/* Yapılandırma
!config/xml/themes/default.xml Yapılandırma
themes/*/config/settings_*.json Yapılandırma
app/config/parameters.old.yml Yapılandırma
app/config/config.php Yapılandırma

Temalar, modüller ve geçersiz kılmalar

Desen Yoksaydıkları
modules/* Temalar, modüller ve geçersiz kılmalar
override/* Temalar, modüller ve geçersiz kılmalar
themes/*/ Temalar, modüller ve geçersiz kılmalar
!themes/classic Temalar, modüller ve geçersiz kılmalar
!themes/_core Temalar, modüller ve geçersiz kılmalar
!themes/_libraries Temalar, modüller ve geçersiz kılmalar

Satıcılar ve bağımlılıklar

Desen Yoksaydıkları
bower_components/ Satıcılar ve bağımlılıklar
node_modules/ Node.js bağımlılıkları
composer.phar Satıcılar ve bağımlılıklar
php-cs-fixer Satıcılar ve bağımlılıklar
.grunt/* Satıcılar ve bağımlılıklar

Çeviriler ve e-posta şablonları

Desen Yoksaydıkları
translations/* Çeviriler ve e-posta şablonları
mails/* Çeviriler ve e-posta şablonları
!mails/themes/ Çeviriler ve e-posta şablonları
!mails/_partials/ Çeviriler ve e-posta şablonları
themes/default-bootstrap/lang/* Çeviriler ve e-posta şablonları
themes/default-bootstrap/modules/*/translations/*.php Çeviriler ve e-posta şablonları
themes/default-bootstrap/mails/* Çeviriler ve e-posta şablonları
!themes/default-bootstrap/mails/en/ Çeviriler ve e-posta şablonları
themes/default-bootstrap/modules/*/mails/* Çeviriler ve e-posta şablonları
!themes/default-bootstrap/modules/*/mails/en Çeviriler ve e-posta şablonları

ÇEŞİTLİ

Desen Yoksaydıkları
*sitemap.xml ÇEŞİTLİ
/robots.txt ÇEŞİTLİ

Symfony

Desen Yoksaydıkları
/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 için bu .gitignore nasıl kullanılır?

  1. Yukarıdaki PrestaShop kurallarını kopyalayın veya dosyayı doğrudan indirin.
  2. Git deponuzun kökünde .gitignore adlı bir dosya oluşturun ve kuralları bu dosyaya yapıştırın.
  3. Bu dosyalardan bazıları zaten izleniyorsa git rm -r --cached . komutunu çalıştırıp yeniden commit edin. Git, yoksayma kurallarını yalnızca izlenmeyen dosyalara uygular.
  4. Ekipteki herkesin aynı kuralları kullanması için .gitignore dosyasını commit edin.

Diğer E-ticaret .gitignore şablonları

Her E-ticaret şablonunu görün