.nh .TH "glab" "1" "Apr 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP glab-repo-mirror - Mirror a project/repository to the specified location using pull or push method. .SH SYNOPSIS .PP \fBglab repo mirror [ID | URL | PATH] [flags]\fP .SH DESCRIPTION .PP Mirror a project/repository to the specified location using pull or push method. .SH OPTIONS .PP \fB--allow-divergence\fP[=false] Determines if divergent refs are skipped. .PP \fB--direction\fP="pull" Mirror direction .PP \fB--enabled\fP[=true] Determines if the mirror is enabled. .PP \fB--protected-branches-only\fP[=false] Determines if only protected branches are mirrored. .PP \fB--url\fP="" The target URL to which the repository is mirrored. .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--help\fP[=false] Show help for command .SH SEE ALSO .PP \fBglab-repo(1)\fP