[egulu CLI reference](../index.md) / [egulu git-repos](index.md)

# egulu git-repos create

POST /v1/projects/{project}/locations/{location}/gitRepositories

```sh
egulu git-repos create <NAME> [options]
```

## API operation

[GitRepositories_create](../../api/delivery/GitRepositories_create.md): `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](../index.md) apply too.
