On Wed, Sep 01, 2021 at 06:50:36PM +0200, Xinglu Chen wrote: > With the former, I can quickly see that the version is from 2021-01-31, > whereas with the latter, I would have to either find the VCS repo online > or go to my local checkout of it and browse the logs. > > > Commit dates don't have a consistent meaning: are they the time of > > first revision of a commit? Final revision of a commit? Time of > > signing? Pushing? They are often useful to estimate a timeline, but > > it's common for a Git "timeline" to jump back and forth by months or a > > year due to long-running development branches being merged in, or due > > to a "commit and then polish by rebasing" workflow. > > I would say the the time of the final commit would be the best option, > but I agree that it can be ambiguous.
My point was that Git does not provide you a timestamp to use for this. There are multiple timestamps embedded into Git commits and none of them reflect anything meaningful.
