.nh .TH "glab" "1" "Sep 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-repo-fork - Fork a GitLab repository. .SH SYNOPSIS \fBglab repo fork [] [flags]\fP .SH DESCRIPTION Defaults to the current repository if no repository is specified. Use \fB--clone\fR and \fB--remote\fR to skip the interactive prompts. .SH OPTIONS \fB-c\fP, \fB--clone\fP[=false] Clone the fork. Options: true, false. .PP \fB-n\fP, \fB--name\fP="" The name assigned to the new project after forking. .PP \fB-p\fP, \fB--path\fP="" The path assigned to the new project after forking. .PP \fB--remote\fP[=false] Add a remote for the fork. Options: true, false. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .SH EXAMPLE .EX glab repo fork glab repo fork namespace/repo glab repo fork namespace/repo --clone .EE .SH SEE ALSO \fBglab-repo(1)\fP