How to copy commit metadata (author, date) from another commit
git commit --amend --reuse-message=<source commit hash>
You can use the -c
flag:
$ git commit --amend --no-edit -c <other commit hash>
git commit --amend --reuse-message=<source commit hash>
You can use the -c
flag:
$ git commit --amend --no-edit -c <other commit hash>