Commit-editmsg Link

: Git saves the remaining cleaned text as the official metadata for that commit. The physical COMMIT_EDITMSG file remains in your .git folder, holding the text of your most recent commit message until your next commit overwrites it. Where to Find It

Run git commit -v . This adds the diff of your changes to COMMIT_EDITMSG , helping you review exactly what you are committing while writing the message. COMMIT-EDITMSG

How to write good commit message for multiple changes? : r/git : Git saves the remaining cleaned text as