From: Junio C Hamano Date: Mon, 06 Nov 2006 18:16:47 GMT Subject: Re: how to show log for only one branch Message-ID: <7vslgwcueo.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <454F1175.9080506@gmail.com> Liu Yubao writes: > ... For example, I want to know what happened in your > git's "next" branch, I hope to get logs like this: > Merge branch 'jc/pickaxe' into next > Merge branch 'master' into next > Merge branch 'js/modfix' into next > ... > some good work > ... > Merge branch .... > > I just want to *outline* what happened in "next" branch, if I am interested > in what have been merged from 'jc/pickaxe' I can follow the merge point again > or use something like "git log --follow-all-parents". My "next" is a bad example of this, because it is an integration branch and never gets its own development. It is also a bad example because I can answer that question with this command line: git log --grep='^Merge .* into next$' next and while it is a perfectly valid answer, I know it would leave you feeling somewhat cheated.