Fix git error "fatal: CRLF would be replaced by LF in FILE"
Error:
git add --all
fatal: CRLF would be replaced by LF in src/main.c
Fix:
- Remove CR symbol from CRLF
find ./src/*.c -exec sed -i 's/\r$//' {} +
Source: StackOverflow
git add --all
fatal: CRLF would be replaced by LF in src/main.c
find ./src/*.c -exec sed -i 's/\r$//' {} +
Source: StackOverflow