Sync Branch — Git skill for Claude Code
Sync feature branch with the latest main branch.
How to install Sync Branch
Installs to ~/.claude/commands/apupsis-claude-code-skill-factory-sync-branch.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Apupsis/claude-code-skill-factory/HEAD/.claude/commands/sync-branch.md -o ~/.claude/commands/apupsis-claude-code-skill-factory-sync-branch.md Restart Claude Code, or start a new session, for it to be picked up.
What Sync Branch does
Sync feature branch with the latest main branch.
Alternatives in Git
- Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
- OSS PR — Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t 19.7k ★
- Maestro Merge — Merge session worktree branch back to main 530 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Git Contribute Sync
Merge the owner's latest master into your claude-harness feature branch, run the tests and push it to your for
PR Merged
Post-merge cleanup — checkout main, pull latest, delete the feature branch, and close the linked work item.
Gw PR Sync
gw-pr-sync - Sync PR with latest main branch
Dip
Post-merge cleanup — switch to base branch, pull latest, delete the merged feature branch, restore any stash.
Git Contribute PR
Open the pull request from your claude-harness feature branch against the owner's master, after syncing it wit
Pull And Sync
Sync working branch with latest from default branch using merge --no-ff.
Related Agents
Doc Editor
Use to edit, organize, or sync Markdown (docs/, design docs, README, CHANGELOG) on explicit request or confirm
Diagnose And PR
Reads a firing failure signal (an alert, a failed check, a monitoring finding), diagnoses the root cause again
Develop
Implements a fix or feature for a single GitHub issue in an isolated worktree. Iterates up to 3 cycles (merge