Created
May 13, 2017 06:44
-
-
Save muzfr7/494d1b7db682d9259f8e2d6471cc4b87 to your computer and use it in GitHub Desktop.
.gitignore file to be used with Symfony2 or 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cache and logs (Symfony2) | |
/app/cache/* | |
/app/logs/* | |
!app/cache/.gitkeep | |
!app/logs/.gitkeep | |
# Email spool folder | |
/app/spool/* | |
# Cache, session files and logs (Symfony3) | |
/var/cache/* | |
/var/logs/* | |
/var/sessions/* | |
!var/cache/.gitkeep | |
!var/logs/.gitkeep | |
!var/sessions/.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 | |
# Assets and user uploads | |
/web/bundles/ | |
/web/uploads/ | |
# PHPUnit | |
/app/phpunit.xml | |
/phpunit.xml | |
# Build data | |
/build/ | |
# Backup entities generated with doctrine:generate:entities command | |
**/Entity/*~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment