Commit-editmsg ✦ Fresh & Authentic
This opens the COMMIT_EDITMSG for the previous commit. Edit the typo. Save. Close. The --amend flag replaces the old commit with a new one using your edited message.
Once you save and close the editor, Git reads the content of COMMIT_EDITMSG , ignores the commented lines, and uses the rest as your official commit message. COMMIT-EDITMSG
The COMMIT-EDITMSG file is the reason you can recover a lost commit message. This opens the COMMIT_EDITMSG for the previous commit
* Introduce standardized commit message template * Update contribution guidelines with best practices * Include examples for clearer understanding Git reads the content of COMMIT_EDITMSG