egulu CLI reference / egulu git-repos
egulu git-repos commit-file
POST /v1/projects/{project}/locations/{location}/gitRepositories/{gitRepository}:commitFile
egulu git-repos commit-file [options]
API operation
GitRepositories_commitFile: 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 apply too.