title: Symfony4: understanding the directory public/bundles
body: <p>I have a problem with the directory <code>public/bundles</code> in my symfony4 project and I am not sure what causes it. I have three dependencies that initial created a symbolic link in this directory. Because I wanted to edit some of the files, I just copied all contents of whatever they were pointing to to the <code>public/bundles</code> directory and made my edits. So far so good. </p>
  
  <p>The problem occurs every time I update files on the production environment. Whenever I copy files from my computer (on windows) to my remote production server (on linux), the contents of <code>public/bundles</code> are removed and the 'original' symbolic links are reinstated. I then have to remove them and upload specifically all directories from my local pc to the server again and things are good again. </p>
  
  <p>What could cause such behaviour though? Could this have something to do with the software I use to upload files (WinSCP) or are there directory settings somewhere I do not know about? Could this be because of GIT ignoring the files? There was the line <code>/public/bundles/</code> in my <code>.gitignore</code> file, which I removed, but the problem remains. </p>