Modify the most recent commit message

Amends the most recent git commit with a new message. This will not update the commit on a remote branch unless you force push the branch,

Authored by: lfx_cool
Brought to you by Warp, a free terminal reimagined to work like a modern app.
new_commit_message

Command
Copy
git commit --amend -m "new_commit_message"
Tags