From: Pete Harlan Date: Sun, 30 Nov 2008 20:09:33 GMT Subject: Re: how to hide some branches Message-ID: <4932F2FD.9030603@pcharlan.com> In-Reply-To: <493261C9.4040608@obry.net> 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