git 切换分支引起git/hook/pre-commit No such File or … 解决方案: cd .git/hooksls -alvim pre-commit删除Result=$后面的一行:wq!cd …/…/rm -rf node_modulescpm i ok