天天看点

Git提交前代码检查报错:lint-staged failed due to a git error

异常:

代码的警告和Error都已经改正了,依旧提交不了…

Git提交前代码检查报错:lint-staged failed due to a git error

解决:

跳过这次代码检查,

成功提交后一定要记得将代码push到远程仓库。

git commit -m "单号设置优化" --no-verify
           
Git提交前代码检查报错:lint-staged failed due to a git error

记得将代码push到远程仓库!!!