Generate Commit Message
Generate a conventional commit message for staged changes.
Target format: <type>(<scope>): <TICKET> <description>
Step 0: Precondition checks
git status --short
git diff --staged --stat
- If this is a merge commit (
git log --merges -1 HEADreturns the current HEAD) → skip conventional format, usemerge: <branch> into <branch>and exit. - If nothing is staged → offer: "Nothing staged. Should I run
git add -pto interactively stage changes,
[Description truncada. Veja o README completo no GitHub.]