Clean up README structure · Entire

Clean up README structure

Sessions

Changes

1

40 unmodified lines

Usage

Quick Start

go run ./cmd/git-sync sync 

Commands

Plan a sync without pushing anything:

<target-url>

Benchmarking

For repeated benchmark runs, prefer the dedicated benchmark command instead of manually wrapping git-sync invocations:

Sync Behavior

When sync sees that all managed target refs are absent and the run is compatible with bootstrap semantics, it automatically uses the bootstrap relay path instead of the normal decode-and-repack sync path.

<source-url>

JSON Output

Add --json to probe, fetch, bootstrap, plan, or sync to emit machine-readable output instead of the default text format.

Auth

For GitHub and similar providers, use basic auth with a token as the password.

Relevant variables:

Behavior

Protocol Notes

Testing

Planned Bootstrap Path

Design Notes

There is a dedicated bootstrap command path for large initial syncs into an empty target. The intent is to relay a fetched source pack directly into target receive-pack instead of decoding the full object graph into local memory first.