How to control the file dates in git? -
this question has answer here:
- how create git commit date in past? 2 answers
see repository, https://github.com/steeve/france.code-civil/tree/master/livre%20iii/titre%20vii there files of 48 years ago... how it?
can preserve old dates after commit? no conflicts in git when changing dates?
ps: aim in example simulate document time , reproduce sequence of changes in real world.
you can --date
argument git commit
. example:
git commit --date="wed feb 16 14:00 2037 +0100"
you can edit existing date, too: use git commit --amend
.
for more information, check out working dates in git.
Comments
Post a Comment