Reputation: 7355
Is it possible? PyCharm provides a nice textbox for editing the commit message, but it ignores line breaks and all the text end up as a single long header line in git.
I sometimes want to have a short header and then explain more later in the body and be able to see a concise header with git log --oneline
Upvotes: 1
Views: 3470
Reputation: 3063
Actually, Pycharm doesn't ignore line breaks, it just tries to show a commit message single lined for quick visualization purposes in some places but if you take a look at the logs' commit details you will see that the line breaks are still there. Here is a screenshot of a multi-line commit viewed from the logs:
Upvotes: 4