一个相当小的项目的存储库占用 >200 兆字节。这是历史的样子:
...
1) regular commit
2) regular commit
3) commit which adds 100mb of useless files + does something useful
4) regular commit
5) commit which removes all of the useless files
6) regular commit
...
我想减小存储库的大小。提交的有用更改3
也不应该丢失。有没有办法将提交3
合并5
到远程存储库中?