Answer the question
In order to leave comments, you need to log in
How to change the commit author but keep the time of the previous commit?
I'm trying to do a git rebase. And some commits have the wrong author. I change the author with this command, however the date is set to today, which is wrong in my case.
git rebase -i 3d5ddffb7b5340c -x "git commit --amend --reset-author"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question