co

Synopsis

sample-rpkg co [-h] [--branches] [--branch BRANCH] [--anonymous] [--depth DEPTH] repo [clone_target] ...

Description

Arguments

repo

Name of the repository to clone. It should not be a Git URL. Should be ‘namespace/repo-name’ in case of namespaced dist-git. Otherwise, just ‘repo-name’. Namespace examples are ‘rpms’, ‘container’, ‘modules’, ‘flatpaks’. Default namespace ‘rpms’ can be ignored.

clone_target

Directory in which to clone the repository

extra_args

Custom arguments that are passed to the ‘git clone’. Use ‘–’ to separate them from other arguments.

Options

-h --help

show this help message and exit

--branches -B

Do an old style checkout with subdirs for branches

--branch -b

Check out a specific branch

--anonymous -a

Check out a module anonymously

--depth

Create a shallow clone with a history truncated to the specified number of commits