sync-all

Fetch, merge, and synchronize multiple git worktrees with remote origin.

39|6|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/the-agency-ai/the-agency --skill sync-all
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-all
Source: https://github.com/the-agency-ai/the-agency/tree/main/.claude/skills/sync-all
Command: npx skills add https://github.com/the-agency-ai/the-agency --skill sync-all

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies managing multiple git worktrees by automating fetch, merge, and synchronization processes, reducing manual effort and errors.

Core Features & Use Cases

  • Repository Synchronization: Fetches updates from the remote origin and merges them into local branches.
  • Worktree Management: Detects diverged worktrees, proposes merges, and updates each worktree to stay synchronized with master.
  • Notification Dispatch: Sends signals to agents about repository updates, facilitating coordinated multi-agent workflows.
  • Use Case: Developers working on multiple feature branches and worktrees can run this Skill to ensure all environments are up-to-date and consistent with the main branch.

Quick Start

Run the sync-all Skill to update your local repository and all associated worktrees, ensuring collaboration consistency across your development environment.

Frequently Asked Questions about sync-all

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I synchronize multiple git worktrees with the remote repository?

To synchronize multiple git worktrees, this automation fetches updates from the remote origin and merges them into local branches, updating each worktree to stay consistent with the main branch.

What is the best way to automate fetching and merging across multiple git worktrees?

Automating fetches and merges across multiple git worktrees requires a synchronization tool that checks for divergence, proposes safe merges, and updates all associated worktrees to match the master branch.

Can I use this git worktree synchronization for multi-environment development teams?

Yes, this git worktree synchronization is designed for multi-environment development teams needing consistent state across all worktrees and remote sources, ensuring collaboration consistency.

How does worktree management handle diverged branches before merging?

Worktree management handles diverged branches by checking divergence before merging, proposing safe merges for detected diverged worktrees to prevent conflicts and maintain repository consistency.

Why does my multi-agent workflow need notification dispatch after a git merge?

Multi-agent workflows need notification dispatch after a git merge to signal integrated agents about repository updates, facilitating coordinated workflows and consistent state across all environments.

When should I not use automated worktree synchronization for git branches?

You should not use automated worktree synchronization when dealing with highly diverged local branches that require manual conflict resolution, as the Skill prioritizes safe merging by checking divergence first.