diff --git a/.gitattributes b/.gitattributes index 35157cfda..8aa2a2385 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,7 @@ +# Go writes go.mod and go.sum with lf even on windows +go.mod text eol=lf +go.sum text eol=lf + # Ignore generated files in GitHub language statistics and diffs /MANUAL.* linguist-generated=true /rclone.1 linguist-generated=true