Sublime Forum

How to add description to git commit message?

#1

Hi,

First off, loving Sublime Merge so far - so speedy!

Simple question: is it possible to add both ‘title’ and ‘description’ to a commit message? With other git gui’s, I usually tab from the title box to the description box to give some extra info.

thanks,
Rich

0 Likes

#2

Yes it is possible, just the same way as you would do it in an editor. The first line of a commit message is always the title. Per convention the content is separated by an empty second line.

TITLE

content
2 Likes

#3

Oh cool - didn’t realize that box functioned as a multi-line box too. I like it!

Thanks again,
Rich

0 Likes

#4

Hi. It works but I had an issue about that.
When I want to add to commit subject and description like,

#TITLE-123

Lorem ipsum sit dolor amet

After the commit, title is disappearing because of ‘#’. Any suggestions?

0 Likes

#5

# is the comment char in git commit msg by default.

https://stackoverflow.com/a/14931661/4643765

0 Likes