Skip to content

Comment on The Go language's first commit (1972)parent

Comments

I can save you some time:

    git commit --date "Tue Jul 18 19:05:45 1972 -0500"
That format actually works just fine for --date.

There's also the GIT_AUTHOR_DATE and GIT_COMMITTER_DATE environment variables.

TIL. I've never needed this, but it could come in handy in the past.

Thanks.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.