I have a mixed Ubuntu, OS X and Windows git repository containing .bat
and .cmd
files targeted for use on Windows 7 and greater. core.autocrlf
is set to input
, and so post-git checkout
these files have LF
line endings in my working directory instead of the CRLF
line-endings I started out with.
Will this cause problems with windows batch execution? In what cases might this difference be significant? I have yet to see any issue but wish to code defensively.
core.autocrlf=input
? Do you have a.gitattributes
?