Re: How to find commits unique to a branch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 20, 2016, 22:21 UTC
- Message-ID
- <xmqqtwgnsdr3.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <878txz8ubq.fsf@thinkpad.rath.org>
Nikolaus Rath <Nikolaus@rath.org> writes:
Show 7 quoted lines
> What's the best way to find all commits in a branch A that have not been > cherry-picked from (or to) another branch B? > > I think I could format-patch all commits in every branch into separate > files, hash the Author and Date of each files, and then compare the two > lists. But I'm hoping there's a way to instead have git do the > heavy-lifting?
"git cherry" perhaps?