mirror of
https://github.com/github/gitignore
synced 2024-12-26 23:00:18 +01:00
2626eee811
Symfony3 (and some versions of Symfony2) come with a new directory structure. This updated version of Symfony.gitignore supports this new directory structure as well as the old one.
35 lines
509 B
Plaintext
35 lines
509 B
Plaintext
# Cache and logs (Symfony2)
|
|
/app/cache/*
|
|
/app/logs/*
|
|
!app/cache/.gitkeep
|
|
!app/logs/.gitkeep
|
|
|
|
# Cache and logs (Symfony3)
|
|
/var/cache/*
|
|
/var/logs/*
|
|
!var/cache/.gitkeep
|
|
!var/logs/.gitkeep
|
|
|
|
# Parameters
|
|
/app/config/parameters.yml
|
|
/app/config/parameters.ini
|
|
|
|
# Managed by Composer
|
|
/app/bootstrap.php.cache
|
|
/var/bootstrap.php.cache
|
|
/bin/*
|
|
!bin/console
|
|
!bin/symfony_requirements
|
|
/vendor/
|
|
|
|
# Assets and user uploads
|
|
/web/bundles/
|
|
/web/uploads/
|
|
|
|
# PHPUnit
|
|
/app/phpunit.xml
|
|
/phpunit.xml
|
|
|
|
# Composer PHAR
|
|
/composer.phar
|