worktree-sync

worktree-sync

Rebuild the manifest files from git state.

Usage

bearing worktree sync

When to Use

Run this after:

What It Does

  1. Scans all folders in the workspace
  2. Detects git repositories and worktrees
  3. Rebuilds local.jsonl from discovered state
  4. Preserves workflow metadata from workflow.jsonl

Example

# After cloning your workspace on a new machine
git clone --recurse-submodules https://github.com/user/workspace.git
cd workspace
bearing worktree sync

Notes