mw gitlab repo create
Releasev0.35.0 · cfeceb67
mw gitlab repo create [path] [flags]Creates the new project with your first configured host in your glab
configuration. The host defaults to GitLab.com if not set. To set a host,
provide either:
- A
GITLAB_HOSTenvironment variable. - A full URL for the project.
Options
Section titled “Options”Global options
Section titled “Global options”Examples
Section titled “Examples”# 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 <host>/path/to/repositorySee also
Section titled “See also”Page views: —Sessions: —