閱讀232 返回首頁    go 阿裏雲 go 技術社區[雲棲]


git config


git config --global core.whitespace  cr-at-eol
               cr-at-eol treats a carriage-return at the end of line as part of the line terminator, i.e. with it, trailing-space does not
               trigger if the character before such a carriage-return is not a whitespace (not enabled by default).
        去掉git提交時出現很多^M提示符,


git config --global core.filemode false
         git 提交時忽略文件權限,該值默認是true

最後更新:2017-10-15 21:34:05

  上一篇:go  阿裏雲服務器ECS怎麼升級配置,升級時有什麼優惠活動?
  下一篇:go  武學的最高境界是和自己的理想作鬥爭