阅读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  武学的最高境界是和自己的理想作斗争