How to set git commit timestamp
- From
- Guido Ostkamp <git@ostkamp.fastmail.fm>
- Date
- May 6, 2007, 16:03 UTC
- Message-ID
- <Pine.LNX.4.64.0705061759210.8165@bianca.dialin.t-online.de>
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 <file>' syntax for this).
Any help is appreciated.
Regards
Guido