Re:I found a useful Git one liner buried in leaked CIA devel...
by Izkata on Saturday February 21, 2026 @03:56AM
(#47098845)
> I think GitLab has a "Clean stale objects" thing you can trigger
This deletes orphaned objects in commits that are unreachable after force-pushes or deleting branches or such, it doesn't delete branches itself.
By default, I don't think so. And even if the branch is deleted, objects can still be there. I think GitLab has a "Clean stale objects" thing you can trigger, I don't seem to recall ever seeing any "Git Maintenance" UI actions on GitHub so not sure how it works there.