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

Re: git log --graph

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Oct 11, 2009, 19:40 UTC
Message-ID
<vpqhbu5zplr.fsf@bauges.imag.fr>
In-Reply-To
<fabb9a1e0910111135v4f3c75a7v6657f5dcfacf13ac@mail.gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> writes:
Show 9 quoted lines
> Heya,
>
> On Sun, Oct 11, 2009 at 20:27, Dilip M <dilipm79@gmail.com> wrote:
>> I am trying git log --graph. (has commits in two branches...). But
>> always see one line :(
>
> It'll show you the history of one branch at a time online, you won't
> get the demo-ed multiple lines unless the branch you're looking at
> contains merges.
That said, git log --graph --all will show multiple branches.

I personnally like the format of git log --graph --pretty=oneline --abbrev-commit with ui.color set to true in ~/.gitconfig.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Sverre RabbelierNext: Jakub Narebski
Message 3 of 7 in “git log --graph”
  1. Dilip MOct 11, 2009
  2. Sverre RabbelierOct 11, 2009
  3. Matthieu MoyOct 11, 2009
  4. Jakub NarebskiOct 11, 2009
  5. Dilip MOct 12, 2009
  6. Matthieu MoyOct 12, 2009
  7. B Smith-MannschottOct 12, 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.