Reputation: 33
I had to backdate my computer and without realizing pushed some changes to the remote git repository. Now when I see the commits in the git web view, my commit is shown as backdated. However, all the code has merged just fine it includes the changes from previous commits by other developers.
Will the backdate cause any problem ? Please let me know.
Upvotes: 2
Views: 705
Reputation: 1326006
The merge is done according to the commit history, a 3-way merge based on a common ancestor.
It does not depend on the commit or author dates.
The commits are linked together through a parent relationship in a DAG, no matter what their date is.
Source: "Branching and Merging" from Eric C. Anderson
Upvotes: 1