From: David Roden <david.roden@sysart.de>
To: git@vger.kernel.org
Subject: Re: How do I show only log messages for commits on a specific branch?
Date: Thu, 17 Dec 2009 10:20:35 +0100 [thread overview]
Message-ID: <hgct5i$fbg$1@ger.gmane.org> (raw)
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
next prev parent reply other threads:[~2009-12-17 9:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-16 10:16 How do I show only log messages for commits on a specific branch? bd
2009-12-16 18:05 ` Elijah Newren
2009-12-16 23:26 ` Miklos Vajna
2009-12-16 23:58 ` Santi Béjar
2009-12-17 0:04 ` Elijah Newren
2009-12-16 23:59 ` Elijah Newren
2009-12-17 0:20 ` Miklos Vajna
2009-12-17 14:20 ` Stefan Völkel
2009-12-17 9:20 ` David Roden [this message]
2009-12-17 15:04 ` Pat Notz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='hgct5i$fbg$1@ger.gmane.org' \
--to=david.roden@sysart.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox