主要原因是这一句,某个文件的样式写法不合规
解决方法:
Somtimes, the project might set the commit message guide line, if your commit doesn’t meet the requirement, ghook will reject it.
If you really not sure how to do that, you can use ‘–no-verify’ to skip this check:
意思就是说可以在git commit中添加 –no-verify跳过校验,
完整命令:git commit --no-verify -m “描述"