Re: git log for a merged branch
- From
- Stephen Bash <bash@genarts.com>
- Date
- Sep 13, 2010, 14:13 UTC
- Message-ID
- <15224422.248536.1284387218322.JavaMail.root@mail.hq.genarts.com>
- In-Reply-To
- <AANLkTikbnoR_=x1_Aq4jh1BuMarEMxXkY=iX0iOjdgyt@mail.gmail.com>
----- Original Message -----
Show 13 quoted lines
> From: "Santi Béjar" <santi@agolina.net> > To: "Stephen Bash" <bash@genarts.com> > Cc: "Michele Ballabio" <barra_cuda@katamail.com>, "Git Mailing List" <git@vger.kernel.org> > Sent: Monday, September 13, 2010 10:00:18 AM > Subject: Re: git log for a merged branch > > If there is more than one merge-base you´ll have to use: > > git log mergecmt^2 --not $(git merge-base mergecmt^1 mergecmt^2) > > and you may use this shorter form: > > git log mergecmt^2 --not $(git merge-base mergecmt^@)
That's surprisingly compact... Impressive.
Slightly changing the topic, we normally tag the release branch, then merge, then delete the branch. Is there a simple way to determine mergemt from the release tag?
Thanks, Stephen