Back to TIL
March 2025
posted on 03.25.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

2026.10.01 14:01:34 in Naperville, IL
Last visitor from Mitaka, Japan
Theme
Color theme
⌘K