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

Comparing commits on two different branches

From
Howard Miller <howard@e-learndesign.co.uk>
Date
Mar 5, 2012, 16:18 UTC
Message-ID
<CAHVO_92V3rRBngrZMLeq17ekKKB41kTmok39uUeZ6aOzxB65dQ@mail.gmail.com>
Hi,

I have two branches - I know that one differs from the other entirely by a (large) number of commits that I have made over some time. Unfortunately, these are now all mixed up with a load of other commits that have been merged into both from the upstream project.

Is there any way that I can get the list of commits that represent the difference between the two branches? Even better is there some way that I can apply all those commits to a third branch (a newer version of the project) without having to do hundreds of cherry-picks?

Thanks!
Next: Junio C Hamano
Message 1 of 2 in “Comparing commits on two different branches”
  1. Howard MillerMar 5, 2012
  2. Junio C HamanoMar 5, 2012

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.