title: laravel gitIgnore doesn't ignore my folder
body: <p>I would like to ignore whole 'public' folder, I added this manually to my gitIgnore file, but still when I commit I can see things from this folder. How to do to file gitignore start ignore this?</p>
  
  <p>My gitignore looks like this:</p>
  
  <pre><code>/vendor
  /node_modules
  .env
  composer.lock
  /public
  /.idea
  .phpstorm.meta.php
  _ide_helper.php
  npm-debug.log
  package-lock.json
  .gitattributes
  </code></pre>