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
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.