File: //snap/google-cloud-cli/396/help/man/man1/gcloud_alpha_source_repos_create.1
.TH "GCLOUD_ALPHA_SOURCE_REPOS_CREATE" 1
.SH "NAME"
.HP
gcloud alpha source repos create \- create a cloud source repository
.SH "SYNOPSIS"
.HP
\f5gcloud alpha source repos create\fR \fIREPOSITORY_NAME\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR 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 alpha 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"
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation\-only early access
allowlist. These variants are also available:
.RS 2m
$ gcloud source repos create
.RE
.RS 2m
$ gcloud beta source repos create
.RE