# Reuse Commit Message After `git reset`, recover the discarded commit message without copy-pasting from reflog. ## Quickest: ORIG_HEAD After a reset, `ORIG_HEAD` points to the commit you just reset from: ```bash git commit --reuse-message=ORIG_HEAD git commit -C ORIG_HEAD # shorthand ``` ## Via Reflog ```bash git commit -C HEAD@{1} # message from 1 step ago in reflog ``` ## Edit on Reuse Lowercase `-c` (or `--reedit-message`) opens the editor pre-filled with the old message: ```bash git commit -c ORIG_HEAD git commit --reedit-message=ORIG_HEAD ``` ## See Also - [[Undo Rebase]] — recovering from larger resets - [[Interactive Rebase]] — fixup/squash as alternatives to reset