worktree-register

worktree-register

Register an existing git repository folder as a base folder.

Usage

bearing worktree register <folder>

Arguments

ArgumentDescription
folderPath to an existing git repository folder

Example

# Register a newly cloned repo
git clone https://github.com/org/new-project.git
bearing worktree register new-project

What It Does

  1. Verifies the folder is a git repository
  2. Adds it to local.jsonl as a base folder
  3. Records its current branch and remote

When to Use

Notes