git line ending handling on a project that is using multiple platforms

# for osx and linux this uses lf in the repo and will convert any cr/lf to lf on commit.
git config --global core.autocrlf input

# for windows if you want your working copy to use cr/lf this will covert on checkout.
git config --global core.autocrlf true

# for windows if you want your working copy to use what comes from the remote
# and to convert windows cr/lf to just lf on commit.
git config --global core.autocrlf input

# for windows only dev's you can keep both the wc and the remote as cr/lf.
git config --global core.autocrlf false