odoo-commit
Installation
SKILL.md
Workflow
-
Run
git diff --statandgit status --shortto see what changed, plusgit log -1 --oneline(andgit log @{u}.. --onelineif a remote-tracking branch exists) to see the last local commit and whether it's still unpushed. -
If the change is a direct continuation or fix of that unpushed
HEADcommit, skip drafting a new message and fold it in instead of creating a second commit for the same logical change:git add <file> git commit --amend --no-edit # or drop --no-edit to also revise the messageOtherwise, draft a new commit message.
-
Stage relevant files by name - never
git add -Aorgit add .. -
Write the commit message to a temporary file, then commit with
git commit -F: