Clone a repository into a new directory
pijul clone [-h | --help] [-V | --version] [ --from-branch <from_branch> ] [--patch <patch> …] [(-p | --port) <port>] [--to-branch <to_branch>] <from> [to]
Clone a single branch of a remote repository, i.e. initialise a new
repository, and apply all patches from a branch from the remote
repository. This is equivalent to
pijul init, followed by
From outside a repository:
pijul clone https://nest.pijul.com/pijul_org/pijul
Print a help message and exit.
Print the version of Pijul and exit.
Clone branch <from-branch> from the remote repository, instead of the default branch (which is "master").
A URI to clone. At the moment, only local paths, SSH paths (such as
email@example.com:path/to/repository) and HTTP(S) URLs are supported.
--patch <patch> …
Pull patch <patch> and its dependencies. Can appear multiple times on the command line.
-p <port>, --port <port>
If the repository is accessed over SSH, the port of the remote SSH server, defaulting to 22 (the standard SSH port).
Store this branch as <branch> instead of using the same name as the remote branch.
Path to the local directory where the repository will be cloned, defaulting to the current directory followed by the basename of the URI in