/git
Stage, commit and push all changes in one command.
Syntax
/git:cp
How It Works
Uses git-manager agent to:
- Stage all changed files (
git add .) - Create meaningful commit message based on changes
- Commit locally
- Push to remote repository
Workflow
# 1. Complete feature
/cook [add user dashboard]
# 2. Review changes
git status
git diff
# 3. Commit and push in one step
/git:cp
When to Use
- Quick iterations on feature branches
- Confident about changes
- Ready to share with team
When NOT to Use
- Need to review before pushing: use
/git:cminstead - Working on main/master: be careful
- Unsure about changes: review first
Related Commands
| Command | Action |
|---|---|
/git:cm | Stage & commit only |
/git:cp | Stage, commit & push |
/git:pr | Create pull request |
Key Takeaway: Use /git:cp for quick stage-commit-push workflow when confident about your changes.