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.