I thought i had a reasonable understanding of line endings in GIT, although I'm now not so sure.
I have config set as follows core.autocrlf=true and also a gitattributes file specified which has *.sh text eol=lf I have a .sh file that was accidentally committed with CRLF from a Windows machine When I clone the repo from Linux, and examine this file in hex, it clearly still has CRLF line endings despite the config. I would have expected any one of the above two pieces of config rectify that and check out with LF line endings, however that is not what I am seeing. What could I be missing here? Thank you -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
