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

Re: Why do some commits not appear in "git log"?

From
Michael Witten <mfwitten@gmail.com>
Date
Aug 2, 2011, 15:56 UTC
Message-ID
<CAMOZ1Bt+Z4XDPNBQyUeVk30aEOuXFAuh8jhdhFke-CDZt2pEDg@mail.gmail.com>
In-Reply-To
<CA++fsGEht+UDp9EnFyfvn-uT1DYPcnhpwmPy_H4PTWvsvUceAQ@mail.gmail.com>
On Tue, Aug 2, 2011 at 15:38, Dov Grobgeld <dov.grobgeld@gmail.com> wrote:
> git log --pretty=oneline --abbrev-commit | head -20

Try `--full-history' maybe? Also, rather than `head -20', you can limit the output directly with `-20':

  git log --pretty=oneline --abbrev-commit --full-history -20

It's hard to know what's going on in your particular example; perhaps give us the output of `git log' when using the `--graph' option.

Previous: Dov GrobgeldNext: Dov Grobgeld
Message 2 of 5 in “Why do some commits not appear in "git log"?”
  1. Dov GrobgeldAug 2, 2011
  2. Michael WittenAug 2, 2011
  3. Dov GrobgeldAug 3, 2011
  4. Junio C HamanoAug 3, 2011
  5. Dov GrobgeldAug 6, 2011

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.