git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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?
Previous: Nikolaus RathNext: Nikolaus Rath
Message 2 of 9 in “How to find commits unique to a branch”
  1. Nikolaus RathJun 20, 2016
  2. Junio C HamanoJun 20, 2016
  3. Nikolaus RathJun 20, 2016
  4. Michael J GruberJun 21, 2016
  5. Nikolaus RathJun 22, 2016
  6. Nikolaus RathJun 21, 2016
  7. Junio C HamanoJun 21, 2016
  8. Nikolaus RathJun 22, 2016
  9. Junio C HamanoJun 22, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.