Amend Latest Commit Message in Git Bash on Windows - DevPops-Inc/windows GitHub Wiki
• The following steps are for amending the latest commit message.
•
• Type git commit --amend
and press the “Enter” key to amend the latest commit message.
•
• Press the “I” key to get into INSERT
mode.
•
• Update the commit message.
•
• Press the “Esc” key to get out of INSERT
mode, type :wq and press the “Enter” key to save changes and exit the text editor.
•
• The latest commit message will be amended.
•