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

# egulu git-repos commit-file

POST /v1/projects/{project}/locations/{location}/gitRepositories/{gitRepository}:commitFile

```sh
egulu git-repos commit-file [options]
```

## API operation

[GitRepositories_commitFile](../../api/delivery/GitRepositories_commitFile.md): `POST /v1/projects/{project}/locations/{location}/gitRepositories/{gitRepository}:commitFile` (delivery module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--branch` | value | no | branch |
| `--content` | value | no | content |
| `--expected-oid` | value | no | expectedOid |
| `--git-repository` | value | yes | gitRepository |
| `--location` | value | yes | location |
| `--message` | value | no | message |
| `--new-path` | value | no | newPath |
| `--parent-commit-sha` | value | no | parentCommitSha |
| `--path` | value | no | path |
| `--project` | value | yes | project |

The [global options](../index.md) apply too.
