Skip to main content

Module clone

Module clone 

Source
Expand description

mkit clone <url> [<dir>] โ€” initialise a new repo and pull from the URL. The destination defaults to the final path segment of the URL when <dir> is omitted.

Dispatches to the same transport-open path used by mkit pull โ€” file://, https://, s3://, and ssh:// are all wired via remote_dispatch::open. --sparse is implemented (behind the sparse-checkout feature): the patterns are persisted to .mkit/sparse-checkout and a verifiable sparse checkout is performed after the pull. --depth (shallow clone) is still deferred and is rejected with a clear message rather than silently ignored.

Functionsยง

run