问题描述:IDEA 提交代码时报错:cannot spawn .git/hooks/commit-msg: No such file or directory解决办法:删除项目文件夹下 .git/hooks/commit-msg 文件