From: René Scharfe Date: Sun, 06 May 2007 17:26:54 GMT Subject: Re: How to set git commit timestamp Message-ID: <463E0FDE.3000504@lsrfire.ath.cx> In-Reply-To: Guido Ostkamp schrieb: > Hello, > > does somebody know a method to specify a timestamp for a 'git commit'? > > I am writing a tool to convert from another SCM to git and need to > replay all checkins. I know how to set the log message and the author, > but there appears to be no command option for the timestamp (Mercurial > for example, has a 'hg commit -d date ' syntax for this). You can use the environment variable GIT_COMMITTER_DATE to force a specific commit date. Please see the man page of git-commit-tree for (some) more info. René