Create a git commit for the current changes.
Steps:
- •Run
git statusandgit diff --staged(orgit diffif nothing staged) - •Analyze changes to determine type: feat, fix, refactor, docs, test, chore
- •Draft a conventional commit message:
type(scope): description - •Stage relevant files if needed (never stage .env, credentials, or secrets)
- •Show the proposed message and ask for confirmation
- •Commit with the approved message
$ARGUMENTS is an optional hint about what the commit is for.