- Change line ending config
1git config core.autocrlf true - Change file mode:
1234567891011// Check current statusgit config core.filemode// Current foldergit config core.filemode false// System levelgit config --system core.filemode false// Globalgit config --global core.filemode false - Clear cache
1git rm --cached -r .
Reference:
- elharony commented on 7 Dec 2018
https://github.com/microsoft/WSL/issues/184 - https://github.com/microsoft/WSL/issues/2900