Ship (direct) command
⚠️ This command commits directly to the current branch (e.g., main) and pushes to origin. Use only for small, low-risk fixes.
- •
Stage all changes:
!git add . - •
Get the staged diff:
!git diff --staged - •
Analyze the changes and generate:
- •A clear commit message in Conventional Commits format
- •
If the user provided
$ARGUMENTS, use that as the commit message. Otherwise, use the generated commit message. - •
Commit the changes with the commit message:
!git commit -m "<commit message>" - •
Push directly to origin on the current branch:
!git push origin HEAD
Use the following format for the commit:
- •commit:
type(scope): description