Commit Changes
- •Run
git diff --cachedto see what's staged - •If nothing is staged, run
git statusand tell the user - •Generate a commit message using conventional commits format:
- •
<type>(<scope>): <subject> - •Types: feat, fix, docs, refactor, test, chore
- •Lowercase, imperative mood, no period
- •
- •Run
git commit -m "<message>"
If the user provided arguments ($ARGUMENTS), use them as guidance for the message.