How Do I Setup Git To Handle CRLF Properly?

This sets up your account to save any file converted from CRLF to LF with LF instead of converting them to CRLF. This is necessary for running shell scripts on Cygwin.

$ git config --global core.autocrlf input
$ git config --global -l

Need more info here.