I want to create a git commit with a message with more than one white line:
Mensaje ejemplo
Que tiene 2 lineas blancas.
But normally, when I commit, git passes the message through git-stripspace , which removes the multiple white lines, with this result:
Mensaje ejemplo
Que tiene 2 lineas blancas.
How can I disable this action? It can be just for a single commit, or with configuration.
When you commit you can choose the option:
For example:
being msg.txt :
More info about the option
cleanup
here .Appendix: Information on how to write a good commit message .