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. Shallow and sparse clone flags (--depth, --sparse) are recognised but deferred; we reject them with a clear message rather than silently ignoring.

Functionsยง

run