How to use multiline commit messages with github?
I have two commits with multiline messages. But in bother cases on github I see only first line.
commit da202cdb5085290a6498c434a0d9388d880fe8c8 Date: Tue Oct 1 16:30:02 2013 +0200 Line 1 Line 2 commit c58f91213428728836b1364ecc111ba71e7c91c6 Date: Tue Oct 1 15:47:12 2013 +0200 [f] unique primary key for id in picture [+] join_db script
I use next commands for commits:
git commit -F commit_message.txt
git commit -m “Line 1” -m “Line 2”
Can github work with multiline commit messages and how?
One Solution collect form web for “How to use multiline commit messages with github?”
All lines are there in your Github history, but by default only the subject (first line) is shown in the short history overview.
... next to a commit’s subject line to show the full comment.