Shared notes for PHP Symfony, Vue Javascript and development in the broad sense
Instead of occasionally create many posts for share a little piece of code or small tips, I'll share on this unique post which it'll grow with the time... and you can search with CTRL or CMD + F ;-) Git EOL and file-system permissions Projects are sometimes on Windows, then on Linux or MacOS. With git, problems with end of line or with de file-system permissions can appears. Solution to all theses problems is : git config --global core.autocrlf true git config --global core.fileMode false With --global option the configuration is applied for every projets (past and future). Each time that I'm on a new computer, I forgot the exact commands. Now, it's here!

Instead of occasionally create many posts for share a little piece of code or small tips, I'll share on this unique post which it'll grow with the time... and you can search with CTRL or CMD + F ;-)
Git
EOL and file-system permissions
Projects are sometimes on Windows, then on Linux or MacOS. With git, problems with end of line or with de file-system permissions can appears.
Solution to all theses problems is :
git config --global core.autocrlf true
git config --global core.fileMode false
With --global option the configuration is applied for every projets (past and future).
Each time that I'm on a new computer, I forgot the exact commands. Now, it's here!