![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
AllBlue
这个作者很懒,什么都没留下…
展开
-
git commit报错: pre-commit hook failed (add --no-verify to bypass)
进入项目的.git>hooks目录,找到pre-commit文件,删除即可。在提交前做代码风格检查,若检查不通过,则提交失败。原创 2024-07-19 10:37:16 · 276 阅读 · 0 评论 -
git push报错remote: Please remove the file from history and try again
1、查看是哪个文件过大,此处对用红框里面的 a6de1336c67c3bac77757c5eff8c8001823f7c92,得到具体的文件名称。最后出现Ref 'refs/heads/master' was rewritten则表示删除成功。2、删除过大的文件:文件名称从1中得到,此处为data/222.glb。原创 2024-04-12 14:06:11 · 549 阅读 · 0 评论