# Commit and Push Changes

> Stage all relevant changes (exclude any files that shouldn't be committed).

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

---


# Commit and Push Changes

Follow this process to commit and push your changes:

## 1. Format Code
```bash
# Linux/macOS
./tools/format_all.sh

# Windows
tools\format_all.bat
```

## 2. Review Changes
```bash
git status
git diff
```

## 3. Stage Changes
Stage all relevant changes (exclude any files that shouldn't be committed).

## 4. Commit
Create a commit with a clear, conventional commit message:
- Use format: `type(scope): description`
- Types: feat, fix, docs, style, refactor, test, chore
- Keep summary under 50 characters
- **No Claude Code footer or attribution in commit message**

## 5. Push
```bash
git push
```

If the branch doesn't exist on remote yet:
```bash
git push -u origin HEAD
```

