I'm sure there is a way to do this in git, but my searches are coming up empty. Is there an easy way to get the message, commit author, commit date and other info from one commit and amend the second commit with this data, without copying the actual commit contents?
git commit --amend --reuse-message=<source commit hash>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With