git push时终端报错:

error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large
fatal: The remote end hung up unexpectedly

你已经把大文件写入本地.git历史中。
你需要把它从commit历史,以及.git库里移除掉。
可以使用git filter-branch --tree-filter 'rm -f 文件名' HEAD命令
git误commit大文件导致不能push问题解决

参考:https://git-scm.com/book/zh/v1/Git-工具-重写历史#核弹级选项:-filter-branch

相关文章:

  • 2021-09-21
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
  • 2021-11-20
  • 2022-02-16
  • 2021-08-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-15
  • 2022-12-23
  • 2021-10-21
  • 2021-06-19
  • 2022-12-23
相关资源
相似解决方案