# Git Rebase All

> Rebase all local branches onto the configured upstream branch.

- Skill: `motlin/git-rebase-all` (Agent Skill)
- Install (CLI): `npx skillmds@latest add motlin/git-rebase-all`
- Raw SKILL.md: https://api.skillmd.com/api/skills/motlin/git-rebase-all/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: motlin (https://skillmd.com/u/motlin)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/motlin/git-rebase-all

---


# Git Rebase All

Resolve `<plugin-root>` before running plugin scripts:

- In Claude Code, use `${CLAUDE_PLUGIN_ROOT}`.
- In Codex, use the plugin root that contains this `skills/git-rebase-all/SKILL.md` file.

Run:

```bash
<plugin-root>/scripts/git-all
```

If it fails with merge conflicts, use the `git-conflicts` skill to resolve conflicts in the affected branch, then run the script again.

Repeat until the command completes without errors or conflicts.

Report which branch is being processed, summarize conflicts, and report final completion.

