In order to apply a patch as a commit https://stackoverflow.com/a/2250170/1778275 suggets using:
git am --signoff < a_file.patch
However, it changes the commit's message in the git log
:
yyy
Signed-off-by: Name Surname <local-part@domain_name>
while the original commit's message is:
[xxx] yyy
Question: how to keep the original commit's message?
UPD. Yes, I am aware of git commit --amend
. However, is there are any way to avoid using any extra commands?