(about)

Solutions Log

November 8th 2009

Dealing with End of Lines

Strips all carriage-returns (CR) from commits and adds line-feeds (LF) when necessary.

git config --global core.autocrlf input true

The above command adds the following to your ~/.gitconfig

[core]
    autocrlf = input