I have some old branches in my git repository that are no longer under active development. I would like to archive the branches so that they don\'t show up by default when r
My approach is to rename all branches I don't care about with a "trash_" prefix, then use:
git branch | grep -v trash
(with a shell key binding)
To retain the coloring of the active branch, one would need:
git branch --color=always | grep --color=never --invert-match trash