| name | commit |
| description | Create a well-formatted git commit following project conventions |
Commit Changes
Create a well-formatted git commit.
Instructions
- Check the current status and diff:
git status
git diff --staged
-
If nothing is staged, ask what should be committed
-
Run tests and clippy before committing:
cargo test
cargo clippy -- -D warnings
-
Write a commit message following conventional commits:
feat: new feature
fix: bug fix
refactor: code refactoring
test: adding tests
docs: documentation
chore: maintenance
-
Create the commit:
git commit -m "type: description"
Note: Do NOT add Co-Authored-By lines (per project conventions).
- Show the result with
git log -1
$ARGUMENTS