.nh .TH "glab" "1" "Apr 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP glab-repo-create - Create a new GitLab project/repository. .SH SYNOPSIS .PP \fBglab repo create [path] [flags]\fP .SH DESCRIPTION .PP Create a new GitLab project/repository. .SH OPTIONS .PP \fB--defaultBranch\fP="" Default branch of the project. If not provided, \fB\fCmaster\fR by default. .PP \fB-d\fP, \fB--description\fP="" Description of the new project .PP \fB-g\fP, \fB--group\fP="" Namespace/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 README.md .PP \fB--remoteName\fP="origin" Remote name for the Git repository you're in. If not provided, \fB\fCorigin\fR by default. .PP \fB-t\fP, \fB--tag\fP=[] The list of tags for the project. .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--help\fP[=false] Show help for command .SH EXAMPLE .PP .RS .nf # 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 .fi .RE .SH SEE ALSO .PP \fBglab-repo(1)\fP