Git core.autocrlf line ending default setting

前端 未结 5 2072
Happy的楠姐
Happy的楠姐 2020-12-30 19:05

I\'m trying to figure out what is the default value for core.autocrlf in Git if the user doesn\'t change this setting.

I\'ve looked in the docs but can\

5条回答
  •  既然无缘
    2020-12-30 19:34

    Checking the git source code, core.autocrlf is set to false by default. (And has been since the property's original introduction on Feb 13, 2007, though it has since been converted from a static value to a constant.)

    The Windows installer does require you to pick a value for this property which is explicitly set in the git system config.

提交回复
热议问题