0

I have a GIT repository and would like to change message of one commit. I made following command:

git rebase -i HEAD ~ 42
git commit --amend -m "new message"
git rebase --continue

Unfortunately, then dates of all subsequent commits change. I would like to keep original value COMMITTER_DATE.

How to do it? Thanks in advance!

phd
  • 82,685
  • 13
  • 120
  • 165
  • 1
    Possible duplicate of [git rebase without changing commit timestamps](https://stackoverflow.com/questions/2973996/git-rebase-without-changing-commit-timestamps) – Sander Nov 28 '18 at 20:46
  • 1
    https://stackoverflow.com/search?q=%5Bgit-rebase%5D+preserve+COMMITTER+DATE – phd Nov 28 '18 at 20:50

0 Answers0