Skip to main content
Version: 2026.1

Version Control Systems

Pimcore generates temporary files, caches, and runtime data during operation. Exclude these paths from version control to keep the repository clean.

Use the .gitignore from the Pimcore skeleton project as a starting point:

Key directories and paths excluded by the skeleton:

  • /var/* - runtime data (versions, cache, log, tmp, recyclebin), with exceptions for var/classes/ (class definitions, excluding DataObject/) and var/config/ (Pimcore configuration, excluding generated files like system.yml and maintenance.php)
  • /public/var/ - public thumbnails and temporary assets
  • /vendor/ - Composer dependencies (managed by composer install)
  • /public/bundles/ - generated by assets:install
  • /.env.local, /.env.*.local - environment-specific secrets
  • /config/local/* - local configuration overrides