Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-15

Re: how to hide some branches

From: Pete Harlan <hidden>
Date: 2016-06-15 22:45:42

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help