0

When saving a one-liner commit I usually type the following, followed by hitting enter:

git commit -m "Some interesting changes"

But how do I save a git commit message when entering verbose mode like this:

git commit -v
Fellow Stranger
  • 32,129
  • 35
  • 168
  • 232
  • 2
    Possible duplicate of [Add line break to 'git commit -m' from the command line](https://stackoverflow.com/questions/5064563/add-line-break-to-git-commit-m-from-the-command-line) – CodeCaster Mar 12 '18 at 11:44
  • 1
    `git commit` without `-m/-F` opens a text editor, and you can enter here any message you want. – phd Mar 12 '18 at 16:00

0 Answers0