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

Finding all branches(remote and local) include given commit?

From
Yi, EungJun <semtlenori@gmail.com>
Date
May 12, 2012, 11:42 UTC
Message-ID
<CAFT+Tg9nJZ7E3FB3nA6+_TR=KUqu80128rL8b2DuRGtBavsj-Q@mail.gmail.com>
Is there any way to find remote and local branches include given commit?
e.g.
$ git branch --all --contains 499e7b31509cfbb59dcb2a046f8e2fd1a3e73d6f
* master
  remotes/origin/next

As you know, it does not work and "git branch --contains" finds only local branches.

Next: Carlos Martín Nieto
Message 1 of 6 in “Finding all branches(remote and local) include given commit?”
  1. Yi, EungJunMay 12, 2012
  2. Carlos Martín NietoMay 12, 2012
  3. Yi, EungJunMay 12, 2012
  4. Yi, EungJunMay 12, 2012
  5. Carlos Martín NietoMay 12, 2012
  6. Yi, EungJunMay 12, 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.