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

Re: Git log of all (modifying) commands run on a repo?

From
Junio C Hamano <junkio@cox.net>
Date
Feb 7, 2007, 23:36 UTC
Message-ID
<7vtzxx4k1c.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0702071525270.8424@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 14 quoted lines
> On Wed, 7 Feb 2007, Junio C Hamano wrote:
>> >
>> > Of course, we should probably just have a
>> >
>> > 	git reflog show
>> >
>> > command for this to make it prettier.
>> 
>> 	$ git log -g?
>
> You think that is *prettier*?
>
> No, I think that if I want a log, I'll just do the "less", thank you very 
> much ;)

Heh, I do not care if you find "log -g" pretty, since I do not particularly find it pretty ("log --pretty=o --abbrev-commit -g" is probably prettier than "less").

I usually use "show-branch -g" myself while rewinding and rebuilding for a release, but my rewinds are lot more controlled than "oops, made a mistake" recovery schenario that triggered this discussion; for large logs (more than 25 entries) it is not very useful.

Previous: Linus TorvaldsNext: Linus Torvalds
Message 9 of 25 in “Git log of all (modifying) commands run on a repo?”
  1. Bill LearFeb 7, 2007
  2. Jakub NarebskiFeb 7, 2007
  3. Bill LearFeb 7, 2007
  4. Jakub NarebskiFeb 7, 2007
  5. Linus TorvaldsFeb 7, 2007
  6. Junio C HamanoFeb 7, 2007
  7. Shawn O. PearceFeb 7, 2007
  8. Linus TorvaldsFeb 7, 2007
  9. Junio C HamanoFeb 7, 2007
  10. Linus TorvaldsFeb 7, 2007
  11. Jakub NarebskiFeb 7, 2007
  12. Johannes SchindelinFeb 7, 2007
  13. Shawn O. PearceFeb 8, 2007
  14. Junio C HamanoFeb 8, 2007
  15. Johannes SchindelinFeb 8, 2007
  16. Junio C HamanoFeb 8, 2007
  17. Johannes SchindelinFeb 8, 2007
  18. Linus TorvaldsFeb 8, 2007
  19. Johannes SchindelinFeb 8, 2007
  20. Shawn O. PearceFeb 7, 2007
  21. Bill LearFeb 7, 2007
  22. Linus TorvaldsFeb 7, 2007
  23. Bill LearFeb 7, 2007
  24. Linus TorvaldsFeb 7, 2007
  25. Johannes SixtFeb 8, 2007

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.