Git无法提交,报错

Failed at the ant-design-pro@2.2.1 lint-staged script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

npm ERR! A complete log of this run can be found in:

npm ERR!     /Users/linge/.npm/_logs/2019-02-25T11_06_57_582Z-debug.log

husky > pre-commit hook failed (add --no-verify to bypass)

 

1.备份项目文件

2.把项目的.git目录的hooks文件清空

原文地址:https://www.cnblogs.com/ww01/p/10457511.html