Git commit ignore line endings -


is there way make git commit ignore line endings?

i managed figure out how make git diff ignore line endings

git diff --ignore-space-at-eol

this way got diff display lines edited.

but problem git diff default considers file changed in whole, , commits change accordingly.

also tried

git config --system core.autocrlf true  git config --system core.autocrlf false 

none of these solved problem!

it seems there no way make git commit ignore line endings default!!

just beware of merging tools!

i figured out teams setting line endings ok, merging tool spoiled several files during merging branch, , on have nightmare of eol!! :)


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -