org-subtree-sync

Synchronize a local org subtree with an upstream repository using git subtree pull.

1|Updated Jul 7, 2022
One-click install
npx skills add https://github.com/chiubaka/circleci-orb --skill org-subtree-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: org-subtree-sync
Source: https://github.com/chiubaka/circleci-orb/tree/main/org/agents/skills/org-subtree-sync
Command: npx skills add https://github.com/chiubaka/circleci-orb --skill org-subtree-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures that the local org subtree in a monorepo is synchronized with the upstream org repository, avoiding conflicts and ensuring consistency before making or exporting changes.

Core Features & Use Cases

  • Subtree Synchronization: Pulls the latest org standards subtree from the upstream repository into the consuming monorepo.
  • Conflict Resolution: Guides through conflict resolution when local changes overlap with upstream changes.
  • Use Case: Before editing org/ content or before exporting local org changes upstream, this skill helps maintain consistency and prevent merge conflicts.

Quick Start

Run the org-subtree-sync skill to synchronize the org subtree with the upstream repository.

Frequently Asked Questions about org-subtree-sync

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

FAQPage Schema
How do I synchronize an org subtree from an upstream repository into my monorepo?

To synchronize an org subtree, the skill runs a git subtree pull to fetch and merge the latest org standards from the upstream repository into your consuming monorepo, ensuring local consistency before you export changes.

When do I need to run subtree synchronization for org standards in my monorepo?

You need subtree synchronization before editing your local org content or exporting local org changes upstream. Running it beforehand maintains consistency with the upstream org repository and prevents merge conflicts.

Do I need any specific git configuration to use subtree synchronization in a monorepo?

Yes, subtree synchronization requires git installed and a subtree-aware repository configuration. The monorepo must already be consuming org standards via git subtree to successfully pull updates.

How does subtree synchronization handle conflicts between local monorepo changes and upstream org updates?

Subtree synchronization detects conflicting changes when local monorepo edits overlap with upstream updates, and the skill guides you through the conflict resolution process to ensure repo consistency.

What is the best way to update org standards in a monorepo without breaking local changes?

Using git subtree pull to synchronize the org subtree is the best way to update standards safely. It pulls the latest upstream org repository content while guiding conflict resolution to protect local monorepo changes.