massivelines
4/17/2019 - 3:23 PM

Updating CRLF LF file format

https://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf
To go from CRLF to LF

– git config --global core.autocrlf false            # per-user solution
– git config --local core.autocrlf false              # per-project solution
   
   
If you already have checked out the code, the files are already indexed. After changing your git settings you should refresh the indexes with

- git rm --cached -r . 
and re-write git index with

- git reset --hard