Pascal Obry wrote:
Hello everyone,
I create a new branch for every new feature/fix I work on. After some
time I have many (too much) branch listed when doing:
$ git branch
I'd like to hide some (not removing them).
Is there a solution for this?
From a suggestion by Jakub Narebski, I use an alias "lb" that shows
the most recently-active 8 branches:
for-each-ref --format='%(refname:short)' \
--sort=-authordate --count=8 refs/heads/
--Pete