Git/GitHub commit with extended message/description

I recently use GitHub and downloaded GitHub for Mac.

I noticed you can add an 'extended description' using GitHub for Mac. How do I add an extended description using the command line?

Can I add an extended description to an existing commit?


Solution 1:

Run git commit without a message and it'll open up your favorite* text editor to write a commit message. Details on the format of the message will appear in the sample.

First line is the short description. Leave a blank line after it. Everything else is the extended description.

*: for some values of "favorite"; results may vary

Solution 2:

From this accepted answer:

git commit -m "Title" -m "Description .........."