禁止执行pre-commit脚本
进入到项目目录中
chmod a-x .git/hooks/pre-commit
git提交代码报错 trailing whitespace的解决方法
原文:https://www.cnblogs.com/wt11/p/8260107.html