title: Should Symfony's 'bin' directory be ignored by git?
body: <p>Running <code>composer install</code> in a Symfony Standard Edition application with a requirement for Doctrine will add a folder called 'bin'. The folder is configured in <code>composer.json</code>:</p>
  
  <pre><code>"config": {
      "bin-dir": "bin"
  }
  </code></pre>
  
  <p>The <code>.gitignore</code> file <a href="https://github.com/symfony/symfony-standard/blob/master/.gitignore" rel="nofollow">that comes with the Symfony Standard Edition</a> includes the directory (causing git to ignore the directory and all it's contents). It seems like the 'bin' folder only contains links to files inside the 'vendor' folder. This leads me to think that it's a good idea to ignore the folder and let Composer handle it.</p>
  
  <p>However, the example <code>.gitignore</code>s <a href="https://github.com/github/gitignore/blob/master/Symfony2.gitignore" rel="nofollow">from GitHub</a> and <a href="http://symfony.com/doc/current/cookbook/workflow/new_project_git.html#initial-project-setup" rel="nofollow">in Symfony's docs</a> doesn't include 'bin'. In fact, I can't really find much about this directory in the official Symfony docs at all, including whether or not it's recommended to keep it out of version control.</p>
  
  <p>Is it indeed recommended to let git ignore this directory and its contents, and is Symfony's documentation simply not up-to-date?</p>