Cannot Reduce Repo Size

Hi @marcwittlinger! Great question.

While @slee24 is linking the correct documentation, I was able to duplicate this problem myself, and I believe I found a workaround.

Please try again using git push origin --force --mirror --prune instead of git push origin --force ‘refs/heads/*’ and let us know if this resolves the problem.

If you’re still blocked from pushing to the repository due to exceeding 10Gb size limit, please open a support ticket with a link to the repository requesting a temporary increase of the size limit to allow the force push to succeed.

Let us know how it goes, or if you have any questions or concerns!

2 Likes