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

Re: git log for only certain branches

From
Michal Sojka <sojkam1@fel.cvut.cz>
Date
Apr 8, 2014, 17:18 UTC
Message-ID
<87bnwb4u5u.fsf@steelpick.2x.cz>
In-Reply-To
<CAHd499BSgxZ8EC1qKYRsF0hac6rQAegw9qTOoDjaiuh_UUVEng@mail.gmail.com>
On Tue, Apr 08 2014, Robert Dailey wrote:
Show 8 quoted lines
> I have more details about my inquiry on StackOverflow:
> http://stackoverflow.com/questions/22823768/view-git-log-with-merges-for-only-certain-branches
>
> Basically I'd like to know if it is possible to show the graph for
> ONLY branches that I list. The key here is that the graph should also
> show relationships between only those branches that I list. In other
> words, any ancestors that I do not explicitly specify should not be
> rendered in the graph.

What about using ^<branch> notation to exclude certain branches? See for example SPECIFYING RANGES in git-rev-parse(1).

-Michal
Previous: Robert DaileyNext: Junio C Hamano
Message 4 of 5 in “git log for only certain branches”
  1. Robert DaileyApr 8, 2014
  2. Matthieu MoyApr 8, 2014
  3. Robert DaileyApr 8, 2014
  4. Michal SojkaApr 8, 2014
  5. Junio C HamanoApr 8, 2014

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.