前言:用git提交代码到git,完整报错:
error Command "husky-run" not found. git 未能顺利结束 (退出码 1) (875 ms @ 2023/6/24 19:05:32)
原因:估计是项目中的eslint导致的这个问题。
解决方案:执行强制提交,请在项目根目录打开终端运行:
rm -rf .git/hooks
然后重新提交即可。
标签:24,06,git,run,husky,Command,error,found From: https://www.cnblogs.com/iuniko/p/17501525.html