.nh .TH "glab" "1" "Oct 2025" "Auto generated by spf13/cobra" "" .SH NAME glab-repo-create - Create a new GitLab project/repository. .SH SYNOPSIS \fBglab repo create [path] [flags]\fP .SH DESCRIPTION Creates the new project with your first configured host in your \fBglab\fR configuration. The host defaults to \fBGitLab.com\fR if not set. To set a host, provide either: .IP \(bu 2 A \fBGITLAB_HOST\fR environment variable. .IP \(bu 2 A full URL for the project. .SH OPTIONS \fB--defaultBranch\fP="" Default branch of the project. Defaults to \fBmaster\fR if not provided. .PP \fB-d\fP, \fB--description\fP="" Description of the new project. .PP \fB-g\fP, \fB--group\fP="" Namespace or group for the new project. Defaults to the current user's namespace. .PP \fB--internal\fP[=false] Make project internal: visible to any authenticated user. Default. .PP \fB-n\fP, \fB--name\fP="" Name of the new project. .PP \fB-p\fP, \fB--private\fP[=false] Make project private: visible only to project members. .PP \fB-P\fP, \fB--public\fP[=false] Make project public: visible without any authentication. .PP \fB--readme\fP[=false] Initialize project with \fBREADME.md\fR\&. .PP \fB--remoteName\fP="origin" Remote name for the Git repository you're in. Defaults to \fBorigin\fR if not provided. .PP \fB-s\fP, \fB--skipGitInit\fP[=false] Skip run 'git init'. .PP \fB-t\fP, \fB--tag\fP=[] The list of tags for the project. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .SH EXAMPLE .EX # Create a repository under your account using the current directory name. $ glab repo create # Create a repository under a group using the current directory name. $ glab repo create --group glab-cli # Create a repository with a specific name. $ glab repo create my-project # Create a repository for a group. $ glab repo create glab-cli/my-project # Create on a host other than gitlab.com. $ GITLAB_HOST=example.com glab repo create $ glab repo create /path/to/repository .EE .SH SEE ALSO \fBglab-repo(1)\fP