Loading...
Loading...
Commit and push in one step. Use when user says "/cp", "commit and push", "커밋하고 푸시", "커밋 푸시", or wants to stage, commit, and push changes in a single action. Optionally accepts a commit message as argument.
npx skill4agent add october-academy/agent-plugins cp/cp # Auto-generate commit message
/cp "fix: resolve bug" # Use provided messagegit status # See all changes
git diff --staged # Staged changes
git diff # Unstaged changes
git log -3 --oneline # Recent commits for context| Prefix | Use Case |
|---|---|
| New feature |
| Bug fix |
| Documentation |
| Code restructuring |
| Formatting (no logic change) |
| Adding tests |
| Maintenance tasks |
git add -Agit add src/component.tsx src/utils.ts.envgit commit -m "$(cat <<'EOF'
type: concise description
Optional body with more details.
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"git push origin <current-branch>git push -u origin <current-branch>| Error | Solution |
|---|---|
| "Nothing to commit" | No changes detected, inform user |
| "Push rejected" | Run |
| "Pre-commit hook failed" | Fix issues, stage again, create NEW commit |