From: David Roden Date: Thu, 17 Dec 2009 09:20:35 GMT Subject: Re: How do I show only log messages for commits on a specific branch? Message-ID: In-Reply-To: <20091216101647.GB27373@bc-bd.org> bd@bc-bd.org wrote: > imagine this: > > --A--*--B (new) > / > *--X--*--Y (master) > > Now I'd like to list only log messages for A..B (X..B would be okay too). > > I know of > > git log master..new > > however then I need to remember that I branched new of master, and to be > honest, sometimes I forget. > > So how do I: > > git please-tell-me-the-branch-I-started-this-branch-from new > > Thanks in advance, I have had wonderful results using git log new --not master or git log new ^master This is using git 1.6.4.4 and this way of specifying commits is not mentioned in the man page—it seems to work, though. David