Skip to content

Instantly share code, notes, and snippets.

@sentenza
Created October 15, 2015 12:48
Show Gist options
  • Save sentenza/e7afe9e05698fe24a94d to your computer and use it in GitHub Desktop.
Save sentenza/e7afe9e05698fe24a94d to your computer and use it in GitHub Desktop.
Symfony2 .gitignore
# 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
# Build data
/build/
# Composer PHAR
/composer.phar
# NetBeans
/nbproject/*
/nbproject/private/
# Idea
/.idea/*
# General Files
desktop.ini
Thumbs.db
.DS_Store
*~
*.swp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment