Provided by: glab_1.49.0-1_amd64 

NAME
glab-repo-clone - Clone a GitLab repository or project.
SYNOPSIS
glab repo clone [flags] [] [-- [...]]
DESCRIPTION
Clone supports these shorthand references:
• repo
• namespace/repo
• org/group/repo
• project ID
OPTIONS
-g, --group="" Specify the group to clone repositories from.
-p, --preserve-namespace[=false] Clone the repository in a subdirectory based on namespace.
-a, --archived[=false] Limit by archived status. Use with '-a=false' to exclude archived
repositories. Used with the --group flag.
-G, --include-subgroups[=true] Include projects in subgroups of this group. Default is true. Used
with the --group flag.
-m, --mine[=false] Limit by projects in the group owned by the current authenticated user. Used with
the --group flag.
-v, --visibility="" Limit by visibility: public, internal, private. Used with the --group flag.
-I, --with-issues-enabled[=false] Limit by projects with the issues feature enabled. Default is
false. Used with the --group flag.
-M, --with-mr-enabled[=false] Limit by projects with the merge request feature enabled. Default is
false. Used with the --group flag.
-S, --with-shared[=true] Include projects shared to this group. Default is true. Used with the
--group flag.
--paginate[=false] Make additional HTTP requests to fetch all pages of projects before cloning.
Respects --per-page.
--page=1 Page number.
--per-page=30 Number of items to list per page.
OPTIONS INHERITED FROM PARENT COMMANDS
--help[=false] Show help for this command.
EXAMPLE
$ glab repo clone profclems/glab
$ glab repo clone https://gitlab.com/profclems/glab
# Clones repository into 'mydirectory'
$ glab repo clone profclems/glab mydirectory
# Clones repository 'glab' for current user
$ glab repo clone glab
# Finds the project by the ID provided and clones it
$ glab repo clone 4356677
# Clones all repos in a group
$ glab repo clone -g everyonecancontribute --paginate
# Clones all non-archived repos in a group
$ glab repo clone -g everyonecancontribute --archived=false --paginate
# Clones from a self-hosted instance
$ GITLAB_HOST=salsa.debian.org glab repo clone myrepo
SEE ALSO
glab-repo(1)
Auto generated by spf13/cobra Nov 2024 glab(1)