Today´s rant for CLRF line endings. They´re driving me mad. In a multi OS environment, diffs are of complete files, since non-windows users change line endings to CLRF and the rest of the world to LF

Anyone with experience with this can give me atip on how to handle this?

Follow

@txusinho
git config --global core.autocrlf input

Or commit editorconfig into your projects with
end_of_line = lf

Assuming git. If not hit, no idea

@binsrc @txusinho

There are also some strategies using .gitattribute (stackoverflow.com/a/10855862), but `core.autocrlf=input` seems to be the easiest-quickest way to fix most of the line ending issues

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.