K
K
kidar22019-10-02 16:37:32
git
kidar2, 2019-10-02 16:37:32

Comit when changing the date on the local computer to 2 days ago. What consequences?

Due to certain circumstances (to correct one error), I had to change the date on the local computer to 2 days ago. When the error was fixed, I made a commit in this old date (not on purpose).
Changed the date back to the current one.
Now I look at the history of changes in the IDE and see that my commit was made 2 days ago, okay, I think there may be some kind of glitch in this IDE.
I go to the github site and look at the change history - the situation is the same: "today's" commit was made in the past.
In general, this is not critical for me, but I'm afraid that it would break something later with all sorts of merges.
Has anyone come across?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-10-10
@dlnsk

Are you the only one working on the project?
Do rebase( description of the process ), and then
git push -f

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question