禁止执行pre-commit脚本
进入到项目目录中
chmod a-x .git/hooks/pre-commit
Posted 明天OoO你好
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git提交代码报错 trailing whitespace的解决方法相关的知识,希望对你有一定的参考价值。
禁止执行pre-commit脚本
进入到项目目录中
chmod a-x .git/hooks/pre-commit
以上是关于git提交代码报错 trailing whitespace的解决方法的主要内容,如果未能解决你的问题,请参考以下文章