> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wip.computer/llms.txt
> Use this file to discover all available pages before exploring further.

# Private-to-Public Sync

> Publish safely. Syncs private to public, excludes internal files, every time.

# Private-to-Public Sync

Publish safely. Syncs private to public, excludes internal files, every time.

You work in a private repo. Internal plans, dev notes, AI context... all the stuff that makes your team productive but shouldn't be public. When it's time to publish, you need a clean copy with none of that included.

This script handles it. One command. Every internal `ai/` folder excluded automatically.

## What It Does

1. Copies all files from your private repo to the public mirror
2. Excludes `ai/` folders (plans, todos, dev notes)
3. Creates a branch and commits with co-authors
4. Pushes, creates a PR, and merges it
5. Creates a matching GitHub release
6. Publishes to npm and GitHub Packages

Nothing internal leaks. Nothing manual to forget.

## Install

```bash theme={null}
ldm install wipcomputer/wip-ai-devops-toolbox
```

## Usage

```bash theme={null}
bash deploy-public.sh /path/to/private-repo wipcomputer/public-repo
bash deploy-public.sh /path/to/private-repo wipcomputer/public-repo --dry-run
```

Always run with `--dry-run` first to see exactly what will be synced.

## Interfaces

CLI, Skill.

## Part of LDM OS

Private-to-Public Sync is part of [AI DevOps Toolbox](/skills/core/devops-toolbox), which installs into [LDM OS](https://github.com/wipcomputer/wip-ldm-os).
