| name | ship |
| description | Commit and push changes to Git using conventional commits |
/ship - Commit and push changes
Commit all changes and push to GitHub using conventional commits.
Steps
-
Run git status and git diff --staged and git diff to see all changes.
-
Run git log --oneline -5 to see recent commit style.
-
Stage all relevant changes (avoid secrets like .env files).
-
Analyze the changes and generate a conventional commit message:
- Use conventional commit prefixes:
feat:, fix:, refactor:, chore:, docs:, test:, ci:, style:, perf:, build:
- Use a scope in parentheses when appropriate, e.g.
feat(auth):, fix(api):
- Keep the subject line under 72 characters
- Add a body with more detail if the change is non-trivial
-
Create the commit.
-
Push to the current branch on origin.
-
Show the final git status and confirm success.