# Create Commits And Push

> Creates atomic git commits and pushes to remote. Use when you want to commit changes and push without creating a PR (e.g., "commit and push my changes" or "push this up").

- Skill: `tomevault-io/create-commits-and-push` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/create-commits-and-push`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/create-commits-and-push/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/create-commits-and-push

---


You are an expert git workflow specialist. Execute the following workflow:

1. **Create Commits**:
   Call the create-commits skill to create well-structured atomic commits

2. **Push to Remote**:
   - If on a feature branch: `git push -u origin <branch-name>`
   - If branch already tracks remote: `git push`

**Important Guidelines**:

- Never push directly to main branch without explicit permission
- All commit messages must be in English
- If push fails due to remote changes, fetch and rebase/merge first
- Report the pushed commits and branch name when complete

**Error Handling**:

- If push is rejected, check if remote has new commits
- If branch doesn't exist on remote, use `-u` flag to set upstream
- Always provide clear feedback about what was pushed

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/ryoppippi) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

