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

Any way to make git-log to enumerate commits?

From
KKKonstantin Kharlamov <hi-angel@yandex.ru>
Date
Dec 5, 2018, 14:22 UTC
Message-ID
<5e5c6d1c-6b3e-c94a-17be-a2af518c1607@yandex.ru>
It would be great if git-log has a formatting option to insert an index of the current commit since HEAD.
It would allow after quitting the git-log to immediately fire up "git rebase -i HEAD~index" instead of "git rebase -i go-copy-paste-this-long-number-id".
Next: Konstantin Khomoutov
Message 1 of 7 in “Any way to make git-log to enumerate commits?”
  1. Konstantin KharlamovDec 5, 2018
  2. Konstantin KhomoutovDec 5, 2018
  3. Elijah NewrenDec 5, 2018
  4. Andreas SchwabDec 5, 2018
  5. Junio C HamanoDec 6, 2018
  6. Konstantin KhomoutovDec 6, 2018
  7. Junio C HamanoDec 7, 2018

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.