Git commit throws fatal error for line endings.

Written by - Saumya

27 January 2014

This comes to me in a regular basis, thought it would be nice, to keep a note to me and anyone else dealing with same.

The short answer to fix this is

git config core.safecrlf warn

There are more descriptive answers available and here is a link to one of many solutions out there.

Happy hacking.