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

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2007-02-08 09:49:50
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.

NOTE! It's very much per-repository. When you push out your changes, your 
reflog stays private.

			Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Feb 08 09:50:35 2007

This archive was generated by hypermail 2.1.8 : 2007-02-08 09:52:11 EST