this post was submitted on 07 Jan 2026
6 points (100.0% liked)
codeberg
196 readers
2 users here now
Codeberg is a community-driven, non-profit software development platform operated by Codeberg e.V. and centered around Codeberg.org, a Gitea-based software forge.
founded 11 months ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Rebase shrunk the
.gitfolder from 280 MB to 267 MB... So in the end, I just deleted the repo AND my local.gitfolder, created a new repo and uploaded. Now it's 1,5 MB ๐ Thanks!For the future, git is highly resilient so squashing the commits still leaves all the data in the reflog. After you do that operation a
git gcwould be needed to remove any unreferenced commits and shrink the git folder.Thats just a very hardcore rebase :D