Skip to content

Commit 256e964

Browse files
committed
Merge pull request #1091 from nicwortel/update-symfony2
Update .gitignore for Symfony2
2 parents 097db81 + e078304 commit 256e964

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

Symfony2.gitignore

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
1-
# Bootstrap
2-
app/bootstrap*
1+
# Cache and logs
2+
/app/cache/*
3+
/app/logs/*
4+
!app/cache/.gitkeep
5+
!app/logs/.gitkeep
36

4-
# Symfony directories
5-
vendor/*
6-
*/logs/*
7-
*/cache/*
8-
web/uploads/*
9-
web/bundles/*
7+
# Parameters
8+
/app/config/parameters.yml
9+
/app/config/parameters.ini
1010

11-
# Configuration files
12-
app/config/parameters.ini
13-
app/config/parameters.yml
11+
# Managed by Composer
12+
/app/bootstrap.php.cache
13+
/bin/
14+
/vendor/
15+
16+
# Assets and user uploads
17+
/web/bundles/
18+
/web/uploads/
1419

1520
# PHPUnit
16-
app/phpunit.xml
21+
/app/phpunit.xml
1722

18-
# Composer
19-
composer.phar
23+
# Composer PHAR
24+
/composer.phar

0 commit comments

Comments
 (0)