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

How do I show only log messages for commits on a specific branch?

From
Bbd@bc-bd.org <bd@bc-bd.org>
Date
Dec 16, 2009, 10:16 UTC
Message-ID
<20091216101647.GB27373@bc-bd.org>
Hello list,
[ git v1.6.3.3 ]
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,
	Stefan
-- 
BOFH excuse #181:

Atilla the Hub
Next: Elijah Newren
Message 1 of 10 in “How do I show only log messages for commits on a specific branch?”
  1. bd@bc-bd.orgDec 16, 2009
  2. Elijah NewrenDec 16, 2009
  3. Miklos VajnaDec 16, 2009
  4. Santi BéjarDec 16, 2009
  5. Elijah NewrenDec 17, 2009
  6. Elijah NewrenDec 16, 2009
  7. Miklos VajnaDec 17, 2009
  8. Stefan VölkelDec 17, 2009
  9. David RodenDec 17, 2009
  10. Pat NotzDec 17, 2009

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.