Ship command
- •Stage all changes:
!git add . - •Get the diff:
!git diff --staged - •Analyze the changes and generate:
- •A concise branch name (format: type/description, e.g., feat/add-login, fix/auth-bug)
- •A clear commit message (conventional commits format)
- •If the user provided $ARGUMENTS, use that as the branch name. Otherwise use the generated branch name.
- •Create the branch with the name
- •Commit with the generated message
- •Push to origin
Use the following format for the branch/commit:
- •branch: type/short-description
- •commit: type(scope): description