summaryrefslogtreecommitdiff
path: root/doc/api/commits.md
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2017-04-08 11:21:11 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2017-04-10 11:17:04 +0200
commitb472f9995ab9e981a0b28a3ad6666a20330f230c (patch)
treeb33f67e95af37dd0606e3cf1533d84d47258a9ab /doc/api/commits.md
parent5422554b8647c3fc01c44a5790b35c20596f1770 (diff)
downloadgitlab-ce-b472f9995ab9e981a0b28a3ad6666a20330f230c.tar.gz
Fix wrong copy edits for URL-encoded substitutions in API docsalkuzad/gitlab-ce-namespaces_encoding_docs
Diffstat (limited to 'doc/api/commits.md')
-rw-r--r--doc/api/commits.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/commits.md b/doc/api/commits.md
index ac19e931e02..9cb58dd3ae9 100644
--- a/doc/api/commits.md
+++ b/doc/api/commits.md
@@ -69,7 +69,7 @@ POST /projects/:id/repository/commits
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
-| `branch_name` | string | yes | The name of a branch |
+| `branch` | string | yes | The name of a branch |
| `commit_message` | string | yes | Commit message |
| `actions[]` | array | yes | An array of action hashes to commit as a batch. See the next table for what attributes it can take. |
| `author_email` | string | no | Specify the commit author's email address |