create commit message logic (issue #95)