Skip to main content

Module git_import

Module git_import 

Source
Expand description

mkit git import / mkit git fetch / mkit git pull — the importer-signed git→mkit direction (SPEC-GIT-IMPORT; feature git-bridge).

Import clones a --mirror staging repo under .mkit/git/<remote>/repo.git, translates through the mkit-git-bridge engine under a DEDICATED import key (pinned in the state dir), lands branches in refs/remotes/<remote>/* (plus refs/heads/<default> + worktree checkout in the fresh-clone form), retains raw commit/tag bytes, and mints git-import/v1 attestations per head. Fetch updates tracking refs only; pull adds the native fast-forward of the current branch. Integration with local work is NATIVE (mkit merge <remote>/<branch>).

Structs§

FetchArgs
ImportArgs

Functions§

run_fetch
run_import