git .gitattributes cat << EOF > .gitattributes # * text=auto *.sh text eol=lf *.bash text eol=lf *.py text eol=lf # Windows batch scripts *.{cmd,[cC][mM][dD]} text eol=crlf *.{bat,[bB][aA][tT]} text eol=crlf EOF