Git: How to reuse/retain commit messages after ‘git reset’? November 29, 2022 by Tarik After a git reset, this one-liner can do it: git commit --reuse-message=HEAD@{1} or even shorter: git commit -C HEAD@{1} You can use the other options given by @user2718704.