CLI reference

heddle import local

Shipped
heddle import local [OPTIONS] [PATH]

Import a Git checkout on this computer

Output text (default) · json · json-compact

Arguments

[PATH] value optional
Git repository to import into native Heddle storage (default: current directory)

Flags

--ref <REF>
Git branch or tag to import. Repeat for selected refs; omit to import all refs
--op-id <OP_ID> hidden
Operation id (UUID v4) for idempotent retries. See `heddle help operation-ids` Accepted by the CLI, but absent from standard --help.

Examples

import all local Git refs into native Heddle storage

bash$ heddle import local

import one branch or tag

bash$ heddle import local --ref main

import selected refs in another repo

bash$ heddle import local ../repo --ref main --ref v1.0