github - avoid timestamps in git -


How you can set all the timestamps to set up on some arbitrary points eg. 1971-01-01 or something else?

Whether the timestamp is ever used, or are they just safe for inviting general things?

I have no idea why would he want to do this, but at that date and time, set and author To make new orders with the date, you can: Export GIT_AUTHOR_DATE = "1970-01-01T00: 00: 00" Export GIT_COMMITTER_DATE = "1970-01-01T00: 00 : 00 "

Rewrite all the old dates In the repository you can easily modify the example here:

  • ... every word with those dates Rewrite Note that this will definitely change the object name of each commitment (SHA 1 SUM).

    It is that the dates are "minor things" - they are definitely not for me! It is useful to know this often when one was committed, and it is not the only situation in the committed graph. Also, with less seriousness, your data needs to be beautiful animations of your repository history;)

Comments