git lfs出现This repository is over its data quota

报错如下:

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

  • 5
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 24
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 24
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值