Re: Why doesn't git core.eol=lf work?
Show 12 quoted lines
>
>
> I believe that it's impossible to check out CRLF from the index as LF.
> You have to use your tool to do that.
>
> The definition of core.eol=lf is here:
> https://git-scm.com/docs/gitattributes/2.9.5#:~:text=Set,-to string value "lf
>
> This means that when you use git add to stage files, Git will convert
> CRLF line endings to LF. However, when you check out files, Git will
> leave the line endings unchanged.
>
I see. Thank you so much. This detail was so subtle and it totally flew under my radar.