This is a simple tool to generate commit messages from the diff.
- Refer to gh-gpt
Generate commit message from the diff.
diff-commit <patch>Generate commit message from the diff and append to the commit message.
git commit -m "$(git diff --cached | diff-commit -)"Generate commit message from last commit and amend to the commit message.
git commit --amend -m "$(git show HEAD --patch | diff-commit -)"