magrigor / machines

0 stars 0 forks source link

CRLF EOF on Windows #1

Open magrigor opened 4 years ago

magrigor commented 4 years ago

git clone auto-convert for each file to CRLF EOF, problem on mounting

https://stackoverflow.com/questions/2613800/how-to-convert-dos-windows-newline-crlf-to-unix-newline-lf-in-a-bash-script

magrigor commented 4 years ago

might be solution to set explicitly the next git configuration:

git config core.autocrlf true
cyberpunk1294 commented 4 years ago

solved by

 git config --global core.eol lf
 git config --global core.autocrlf input