Some of your tasks use git add command. Please remove it from the config since all modifications made by tasks will be automatically added to the git commit index.
git 提交时报错 Some of your tasks use git add command. Please remove it from the config since all modifications made by tasks will be automatically added to the git commit index.
找到项目里的 package.json 文件,找到 "husky",把里面提交前检查的部分删除。
`pre-commit`