Create Source Repository
codecatalyst_create_source_repository | R Documentation |
Creates an empty Git-based source repository in a specified project¶
Description¶
Creates an empty Git-based source repository in a specified project. The
repository is created with an initial empty commit with a default branch
named main
.
Usage¶
codecatalyst_create_source_repository(spaceName, projectName, name,
description)
Arguments¶
spaceName |
[required] The name of the space. |
projectName |
[required] The name of the project in the space. |
name |
[required] The name of the source repository. For more information about name requirements, see Quotas for source repositories. |
description |
The description of the source repository. |
Value¶
A list with the following syntax:
list(
spaceName = "string",
projectName = "string",
name = "string",
description = "string"
)
Request syntax¶
svc$create_source_repository(
spaceName = "string",
projectName = "string",
name = "string",
description = "string"
)