Re: How do I show only log messages for commits on a specific branch?
- From
- David Roden <david.roden@sysart.de>
- Date
- Dec 17, 2009, 09:20 UTC
- Message-ID
- <hgct5i$fbg$1@ger.gmane.org>
- In-Reply-To
- <20091216101647.GB27373@bc-bd.org>
bd@bc-bd.org wrote:
Show 20 quoted lines
> 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