From: Shawn O. Pearce Date: Thu, 01 May 2008 00:28:27 GMT Subject: Re: Tracability in git commits Message-ID: <20080501002827.GX29771@spearce.org> In-Reply-To: <20080430194651.GC23672@genesis.frugalware.org> Miklos Vajna wrote: > On Thu, May 01, 2008 at 01:33:53AM +0800, Ping Yin 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.