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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Linus Torvalds wrote:
> 
> 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.

Or something like this:

find .git/logs -type f | xargs cat | sort -t'>' -k2 -n | less

-- Hannes

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]