Hacker News new | ask | show | jobs
by CJefferson 1049 days ago
My biggest problem with git is branch deletion — if you never do it you end up with far too many, but deleting a branch can’t be version controlled.
2 comments

It is somewhat version-controlled but not completely. If you use the reflog you can find it again and you can find how it moved around. But the reflog gets rewritten and gc'd so it's not true vc.
Just curious, why do you want that to be version controlled?
Because I might realize later I made a mistake, or I might want to view history.

I’d I never cared about historical state and mistakes, I wouldn’t need version control at all :)

You could delete the branches locally while archiving them to any another clone of the repo.