报错如下:
batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
碰到这个问题后,我首先清理了lfs的repository,但是发现依然有这个问题。
点击账户->Settings->Billings发现右侧有这么个图:
所以3.43GB是哪里来的?肯定是.git存储了大量的历史数据导致的。
显然,要么去付费升级空间,要么彻底清理掉这个LFS Repository.
直接删除这个repository即可。
还有[1]中的人直接就付费扩容了。
官方文档[2]提到恢复上面Git LFS Data的办法就是在网页上删除整个repository.
Reference:
[1]https://dustinfreeman.org/blog/rip-lfs/
[2]https://help.github.com/en/github/managing-large-files/removing-files-from-git-large-file-storage