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

git branch: multiple --merged and --no-merged options?

From
Jed Brown <jed@59a2.org>
Date
Mar 15, 2013, 19:38 UTC
Message-ID
<87fvzwmp23.fsf@59A2.org>
I find myself frequently running commands like this
  $ comm -12 <(git branch --no-merged master) <(git branch --merged next)
when checking for graduation candidates. Of course I first tried
  $ git branch --no-merged master --merged next
but this is equivalent to
  $ git branch --merged next

Isn't this query common enough to have a nicer interface? What do other people use?

Next: Jeff King
Message 1 of 4 in “git branch: multiple --merged and --no-merged options?”
  1. Jed BrownMar 15, 2013
  2. Jeff KingMar 22, 2013
  3. Jed BrownMar 23, 2013
  4. Jeff KingMar 23, 2013

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.