Android Studio: how to add a line break in a git commit message?

When pasting a git commit message, how can I add a line break? Writing another message on a new line has no effect and 2 messages are displayed on one line on the site (Bitbucket).

I know I can achieve this using the command line, but what about here?

enter image description here

+3


source to share


1 answer


We know markdown is not supported in the commit message on GitHub and BitBucket , so the issue does not arise from the Git hosting service.



Perhaps the problem is with the way Android Studio interprets the commit message, for example as a markdown source:
Try adding 2 spaces at the end of the first line to see if the message ends with an intermediate newline or not.

+1


source







All Articles