Scroll to navigation

glab(1) glab(1)

NAME

glab-repo-mirror - Mirror a project or repository to the specified location, using pull or push methods.

SYNOPSIS

glab repo mirror [ID | URL | PATH] [flags]

DESCRIPTION

Mirror a project or repository to the specified location, using pull or push methods.

OPTIONS

--allow-divergence[=false] Determines if divergent refs are skipped.

--direction="pull" Mirror direction. Options: pull, push.

--enabled[=true] Determines if the mirror is enabled.

--protected-branches-only[=false] Determines if only protected branches are mirrored.

--url="" The target URL to which the repository is mirrored.

OPTIONS INHERITED FROM PARENT COMMANDS

--help[=false] Show help for this command.

SEE ALSO

glab-repo(1)

Nov 2024 Auto generated by spf13/cobra