Skip to main content
plugin

command-sync-branch — Claude Code plugin: branch sync

command-sync-branch — a plugin that syncs your feature branch with the latest main. Keeps your local work current when the main branch moves ahead.

MIT ★ 2,707 updated 2026-03-05

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add softaworks/agent-toolkit
/plugin install command-sync-branch@agent-toolkit
Open on GitHub

What command-sync-branch does

command-sync-branch automates pulling changes from main into your working branch. The plugin fetches fresh commits from the main branch and applies them without leaving the Claude Code editor—no manual conflict resolution in the terminal needed.

It works as a native Claude Code command, callable directly from the interface. This saves a trip to the terminal and makes it quick to bring your branch up to date before opening a pull request or merging.

What it helps with

  • sync a feature branch with the main branch
  • avoid merge conflicts when updating a feature branch
  • keep local changes current without terminal work
  • run branch sync from within the editor

Example prompts for the agent

  • Sync my branch with main
  • /command-sync-branch
  • Update the current branch with the latest changes from main

How to install command-sync-branch

Plugin marketplace

/plugin marketplace add softaworks/agent-toolkit
/plugin install command-sync-branch@agent-toolkit

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about command-sync-branch

How do I install command-sync-branch in Claude Code?

Run /plugin marketplace add softaworks/agent-toolkit, then /plugin install command-sync-branch@agent-toolkit. The plugin will load and be ready to use.

What does command-sync-branch do?

It syncs your feature branch with the latest commits from main, applying all new changes automatically through Claude Code's interface.

Do I need git to use this plugin?

Yes, the plugin works with a git repository and requires your project to have a main branch set up for version control.

Source text

command-sync-branch · MIT
Sync feature branch with the latest main branch.

© softaworks · MIT · softaworks/agent-toolkit

Similar plugins

All plugins for Git and GitHub →

From the same set79

The whole set →
mermaid-diagram-specialist The mermaid-diagram-specialist subagent turns system, process, or data descriptions into Mermaid diagrams for Markdown documentation. Use it to map decision flows, API interactions, or data models. CX Codex ★ 2,707repo stars ui-ux-designer ui-ux-designer — a subagent that reviews interfaces against Nielsen Norman Group studies and eye-tracking data. Rejects patterns that harm usability and cites sources for every recommendation. CX Codex ★ 2,707repo stars command-viral-tweet command-viral-tweet — a Claude Code plugin that transforms a rough tweet draft into three optimized versions for X. Analyzes engagement drivers and outputs posting strategy for each variant. ★ 2,707repo stars command-sync-skills-readme command-sync-skills-readme keeps the root README.md aligned with the current skill list in skills/. Useful when the skills directory changes. ★ 2,707repo stars command-explain-pr-changes command-explain-pr-changes generates a markdown summary of pull request changes alongside visual impact analysis. Prepares clear context before team reviews. ★ 2,707repo stars command-explain-changes-mental-model command-explain-changes-mental-model splits code changes into small logical chunks to build a clear mental model during reviews. ★ 2,707repo stars command-compose-email command-compose-email drafts workplace emails using the What-Why-How framework. Generates structured messages for team members and project stakeholders. ★ 2,707repo stars command-codex-plan command-codex-plan generates a detailed implementation plan using Codex 5.2 with high reasoning. The command runs during feature design before any code edits begin. ★ 2,707repo stars

Project sponsors

Companies that keep this analytics open