瀏覽代碼

Merge pull request #1091 from nicwortel/update-symfony2

Update .gitignore for Symfony2
Carl Suster 11 年之前
父節點
當前提交
256e9648ba
共有 1 個文件被更改,包括 19 次插入14 次删除
  1. 19 14
      Symfony2.gitignore

+ 19 - 14
Symfony2.gitignore

@@ -1,19 +1,24 @@
-# Bootstrap
-app/bootstrap*
+# Cache and logs
+/app/cache/*
+/app/logs/*
+!app/cache/.gitkeep
+!app/logs/.gitkeep
 
-# Symfony directories
-vendor/*
-*/logs/*
-*/cache/*
-web/uploads/*
-web/bundles/*
+# Parameters
+/app/config/parameters.yml
+/app/config/parameters.ini
 
-# Configuration files
-app/config/parameters.ini
-app/config/parameters.yml
+# Managed by Composer
+/app/bootstrap.php.cache
+/bin/
+/vendor/
+
+# Assets and user uploads
+/web/bundles/
+/web/uploads/
 
 # PHPUnit
-app/phpunit.xml
+/app/phpunit.xml
 
-# Composer
-composer.phar
+# Composer PHAR
+/composer.phar