Re: Tracability in git commits

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

 



Miklos Vajna <vmiklos@xxxxxxxxxxxxxx> wrote:
> On Thu, May 01, 2008 at 01:33:53AM +0800, Ping Yin <pkufranky@xxxxxxxxx> wrote:
> > I don't find reflog for bare repository, or must i enable it manually?
> 
> Right, reflog is disabled by default for bare repos.

`git config core.logAllRefUpdates true` right after you make the
repository solves that nicely.  I actually have a script that I use
to make a new bare central repo:

	#!/bin/sh
	git --git-dir="$1" init &&
	git --git-dir="$1" config core.logAllRefUpdates true ||
	exit

;-)

-- 
Shawn.
--
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]

  Powered by Linux