1 2 3 4 5 6 7 8 9 10 11# From: https://docs.github.com/en/github/getting-started-with-github/configuring-git-to-handle-line-endings # Set the default behavior, in case people don't have core.autocrlf set. * text=auto # Explicitly declare text files you want to always be normalized and converted # to native line endings on checkout. *.rs text eol=lf *.toml text eol=lf *.c text eol=lf *.h text eol=lf