File: //snap/google-cloud-cli/current/help/man/man1/gcloud_source_repos_create.1
.TH "GCLOUD_SOURCE_REPOS_CREATE" 1
.SH "NAME"
.HP
gcloud source repos create \- create a cloud source repository
.SH "SYNOPSIS"
.HP
\f5gcloud source repos create\fR \fIREPOSITORY_NAME\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
This command creates a named git repository for the currently active Google
Cloud Platform project.
.SH "EXAMPLES"
To create a named repository in the current project issue the following
commands:
.RS 2m
$ gcloud init
.RE
.RS 2m
$ gcloud source repos create REPOSITORY_NAME
.RE
Once you push contents to it, they can be browsed in the Developers Console.
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIREPOSITORY_NAME\fR
Name of the repository. May contain between 3 and 63 (inclusive) lowercase
letters, digits, and hyphens. Must start with a letter, and may not end with a
hyphen.
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.
Run \fB$ gcloud help\fR for details.
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha source repos create
.RE
.RS 2m
$ gcloud beta source repos create
.RE