egulu CLI reference / egulu git-repos
egulu git-repos create
POST /v1/projects/{project}/locations/{location}/gitRepositories
egulu git-repos create <NAME> [options]
API operation
GitRepositories_create: POST /v1/projects/{project}/locations/{location}/gitRepositories (delivery module)
Arguments
| Name | Required | Description |
|---|---|---|
NAME | yes | the gitRepositoryId |
Options
| Option | Takes | Required | Description |
|---|---|---|---|
--auto-build-repository | value | no | autoBuildRepository |
--default-branch | value | no | defaultBranch |
--deploy-target-ids | value | no | deployTargetIds: comma-separated, or @file with one item a line |
--description | value | no | description |
--display-name | value | no | displayName |
--location | value | yes | location |
--mirror-interval-minutes | value | no | mirrorIntervalMinutes |
--mirror-source-url | value | no | mirrorSourceUrl |
--project | value | yes | project |
--protected-branches | value | no | protectedBranches: comma-separated, or @file with one item a line |
--validate-only | value | no | validateOnly |
--visibility | value | no | visibility |
The global options apply too.