Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P480
git old dates
Active
Public
Actions
Authored by
vlorentz
on Jul 23 2019, 2:02 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
$ git commit --date '1999-01-01' -m "foo" --allow-empty | grep Date
Date: Fri Jan 1 12:59:34 1999 +0100
$ git commit --date '1973-03-03' -m "foo" --allow-empty | grep Date
Date: Sat Mar 3 13:00:21 1973 +0100
$ git commit --date '1973-03-02' -m "foo" --allow-empty | grep Date
fatal: invalid date format: @99921632
$ git commit --date '1970-01-01' -m "foo" --allow-empty | grep Date
fatal: invalid date format: @43252
$ git commit --date '1969-12-31' -m "foo" --allow-empty | grep Date
Date: Mon Dec 31 13:01:02 2012 +0100
Event Timeline
vlorentz
created this paste.
Jul 23 2019, 2:02 PM
2019-07-23 14:02:42 (UTC+2)
Log In to Comment