Back to TIL
March 2025
posted on 03.26.2025

Use same git commit message as previous commit

git commit --reuse-message HEAD

--reuse-message takes an existing commit and reuse the log message.

Add --edit to bring up the editor if you wish to edit the message before committing.

No reactions yet

in Naperville, IL
Last visitor from Mitaka, Japan