diff --git a/dot_gitattributes.tmpl b/dot_gitattributes.tmpl index 2c3b1c8..01465c7 100644 --- a/dot_gitattributes.tmpl +++ b/dot_gitattributes.tmpl @@ -1,5 +1,7 @@ +# https://git-scm.com/docs/gitattributes + # Automatically normalize line endings for all text-based files {{- if ne .chezmoi.os "darwin" }} -* text=auto +* text=auto eol=lf {{- end }} # Disabled because of https://github.com/mathiasbynens/dotfiles/issues/149 :(