DEV Community

Discussion on: Change the date of a git commit

Collapse
sprzedwojski profile image
Szymon Przedwojski

Thanks, it worked.
As for a use case, I just had 4 commits that I rebased and squashed together. The resulting final commit had the date of the first of the 4 commits, which was a week ago.
And I wanted to push the final commit with today's date, which is a legitimate reason to me ;)