From: Joey Hess Date: Fri, 28 Aug 2009 00:54:20 GMT Subject: Re: finding unmerged branches Message-ID: <20090828005420.GB20964@gnu.kitenet.net> In-Reply-To: <32541b130908271522u1048dcb1h67b79049e46df1ac@mail.gmail.com> Avery Pennarun wrote: > How about: > > gitk $(git for-each-ref --format='%(refname)' 'refs/remotes/'; git > for-each-ref --format='^%(refname)' 'refs/heads/') > > You could also replace 'gitk' with 'git log', and mess with the > --pretty=format:whatever parameter. I added 'refs/remotes/origin/' 'refs/tags/' to the list, and that's almost perfect, thanks. Though there was one remote branch where gitk showed a lot of commits from origin/master before the unmerged changes in the branch. Could not figure out why, git log doesn't show them. -- see shy jo