---
title: Git不小心提交了100M以上文件导致无法提交解决方案
published: 2025-09-20
description: ''
image: ''
tags: []
category: '疑难杂症'
draft: false 
lang: ''
---

![](https://blog.meowrain.cn/api/i/2025/09/20/10gf9ih-1.webp)

![](https://blog.meowrain.cn/api/i/2025/09/20/10h4100-1.webp)

![](https://blog.meowrain.cn/api/i/2025/09/20/10hjla3-1.webp)

![](https://blog.meowrain.cn/api/i/2025/09/20/10hnekj-1.webp)

![](https://blog.meowrain.cn/api/i/2025/09/20/10i2nlq-1.webp)

可以直接用这个Scala写的bfg,点击下载: 
https://blog.meowrain.cn/web/bfg-1.15.0.jar

https://github.com/rtyley/bfg-repo-cleaner

文档： https://rtyley.github.io/bfg-repo-cleaner/

![](https://blog.meowrain.cn/api/i/2025/09/20/10gsu60-1.webp)

![](https://blog.meowrain.cn/api/i/2025/09/20/10i6pio-1.webp)