解决 VSCode git commit 时 No such file or directory 报错问题
在git 进行 commit 时出现了
Git: .git/hooks/pre-commit: line 2: ./node_modules/pre-commit/hook: No such file or directory
报错在命令行里运行以下命令回车即可解决。
npx husky install
作者:胡小喵_
链接:https://www.jianshu.com/p/4d1df7fa6ebe