This may be a dumb question, but is there a way to write multiple lines of a commit message? Every time it goes to the next line, I get a notification that the second line should be empty to separate commit message header from body.
Could you take the screenshot of the case?
From Git documentation:
-m <msg>--message=<msg>Use the given <msg> as the commit message. If multiple -m options are given, their values are concatenated as separate paragraphs.So you need to add multiple -m options in order to commit multiple lines message:git commit -m "line 1" -m "line 2"
So you’re saying I can type "git commit … " in the Commit Message box? See the alert below where it says “Second line should be empty to separate commit message from body” when I used . Unless the alert can be disregarded…
Based on my screenshot above, can the alert be ignored when using multiple lines of a commit message?