From: Junio C Hamano Date: Wed, 07 Feb 2007 22:56:47 GMT Subject: Re: Git log of all (modifying) commands run on a repo? Message-ID: <7vd54l60gg.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > On Wed, 7 Feb 2007, Bill Lear wrote: >> >> I thought that it would be very useful to have a history of git >> commands that have been run against a repo, in order to hopefully >> debug this sort of thing --- perhaps only those that modify the repo. > > The "reflog" is kind of that, and you can literally do > > less .git/logs/refs/heads/master > > to get some kind of idea what's up. > > Newer gits enable reflogs by default, older gits don't (and *really* old > git versions don't support it at all). > > Of course, we should probably just have a > > git reflog show > > command for this to make it prettier. $ git log -g?