eol - proper autocrlf setting for git -
we use sourcetree client. handles various line endings ok, diff tool uses not. sees lines ending in lf 1 line. as result, keep source in our repository crlf. i'm looking @ installing git client. can't find correct setting text or autocrlf. seems want "normalize" file on check in lf. i want convert crlf on checkout; , either convert crlf on checkin; or nothing on checkin; the best can find far -text: nothing on checkin or checkout; is there hope? thanks, brad. git's native end-of-line settings lf, , i'm not aware of way alter behavior aside recompiling source. however, can force checkouts use crlf, requires creation of .gitattributes file. example: # force c# source files checked out using crlf line endings, # ignoring "core.eol" setting. *.cs eol=crlf # don't apply crlf conversion pdf files, regardless of # user settings including "core.autocrlf". *.pdf -text # other files subjected usual algorithm determi...