title: Why is git looking inside vendors directory?
body: <p>I have the .gitignore file with this code:</p>
  
  <pre><code>/app/cache/*
  /app/logs/*
  /app/bootstrap*
  /vendor/*
  /web/bundles/
  /app/config/parameters.yml
  </code></pre>
  
  <p>but when I do :</p>
  
  <pre><code>$ git status
  </code></pre>
  
  <p>in any situation (before and after add and commit), I get a long text output like this:</p>
  
  <pre><code>    ...
  
      #   deleted:    vendor/doctrine/orm/tools/sandbox/cli-config.php
      #   deleted:    vendor/doctrine/orm/tools/sandbox/doctrine
      #   deleted:    vendor/doctrine/orm/tools/sandbox/doctrine.php
      #   deleted:    vendor/doctrine/orm/tools/sandbox/index.php
      #   deleted:    vendor/doctrine/orm/tools/sandbox/xml/Entities.Address.dcm.xml
      #   deleted:    vendor/doctrine/orm/tools/sandbox/xml/Entities.User.dcm.xml
      #   deleted:    vendor/doctrine/orm/tools/sandbox/yaml/Entities.Address.dcm.yml
      #   deleted:    vendor/doctrine/orm/tools/sandbox/yaml/Entities.User.dcm.yml
      #   modified:   vendor/friendsofsymfony/user-bundle/FOS/UserBundle
      #   modified:   vendor/gedmo/doctrine-extensions
      #   modified:   vendor/herzult/forum-bundle/Herzult/Bundle/ForumBundle
      #   modified:   vendor/kriswallsmith/assetic
      #   modified:   vendor/symfony/property-access/Symfony/Component/PropertyAccess/.gitignore
      #   modified:   vendor/symfony/property-access/Symfony/Component/PropertyAccess/StringUtil.php
      #   modified:   vendor/symfony/symfony/CHANGELOG-2.1.md
  
      ...
  </code></pre>
  
  <p>The vendors directory is in .gitignore file, so I don't know what is happening.
  I've tried with:</p>
  
  <pre><code>$ sudo git clean -dxf
  </code></pre>
  
  <p>but nothing changes.</p>