3 ms·
A date is just a number in a file. You can create Git commits with any date you want.
by chrisseaton 5y ago
A date is just a number in a file. You can create Git commits with any date you want.
- rgoulter 5y agoFor the sake of interest, not quite any date. https://stackoverflow.com/questions/21787872/is-it-possible-to-set-a-git-commit-to-have-a-timestamp-prior-to-1970 https://stackoverflow.com/questions/21787872/is-it-possible-... e.g. this repo which represented the US constitution in a Git repository couldn't use the actual dates it wanted to. https://github.com/JesseKPhillips/USA-Constitution#who-made-the-change https://github.com/JesseKPhillips/USA-Constitution#who-made-...
- samatman 5y agoYes and this actually matters. Not allowing the creation of repos of historical data with correct timestamps is a bad design decision, not an inevitability.