Should I add Laravel vendor directory to .gitignore or not?
<p>I'm having my vendor directory in <code>.gitignore</code> file.
 Every time I run <code>composer update</code> , git can not track <code>vendor</code> directory updates and changes and therefor I can not backward these changes!! </p>

<p><strong>My question is:</strong>  Is it possible that application crash OR encounter errors after <code>composer update</code> so there is a need to <code>git reset</code>?  </p>

<p>If it is possible, isn't it better to remove vendor  directory from <code>.gitignore</code> ?
maybe there are other solutions to this problem ? (if it is a problem at all !!)</p>