IQAndreas
IQAndreas

Reputation: 8468

Set a specific date for a GIT tag

I want to retroactively add an annotated tag to an old project at some commit back in time.

Rather than have annotated tag show today's date, is it possible to set (or edit) the date of a tag?

Upvotes: 7

Views: 1243

Answers (1)

zerkms
zerkms

Reputation: 254896

$ GIT_COMMITTER_DATE="2006-10-02 10:31" git tag -s v1.0.1

References:

Upvotes: 14

Related Questions