I was able to git rid of about 30 local branches across projects. One thing I found for a project that switched its primary branch from master to main last year: I forgot to re-assign HEAD to main. Fixed with
I tend to prune my branches regularly and so didn’t have much to do here, however still a great reminder to keep things clean. Thanks for the great first week, looking forward to the next!
I encountered git-town a while back which adds the wonderful additional git commands like prune-branches which works very much the same way (even asks you what the base branch is the first time and remembers).
Like many others here I clean up my local merged branches often with a git helper that does the clean up. I also went through stale branches listed in our GitHub repo to remove them. About 40 old branches were removed!
Every day is a school day here. It was very pleasing to see the track of a lot of completed work in those branches that no longer needed to be tracked!