Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-11-24 17:29:22 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2016-11-24 17:33:23 +0300
commit28f4d7aa28c6ce2765fce7922058c82f7633dae3 (patch)
tree3e922f1bcc5584f8499db4fa0e7bfe458a558e9e /doc
parentd5740d3bb6ad23c74e8968f62ec479929c63fb44 (diff)
You can only assign default_branch when editing a project or when creating a project for a specified user [ci skip]
You can only assign default_branch when editing a project [ci skip]
Diffstat (limited to 'doc')
-rw-r--r--doc/api/projects.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index b02a901d884..bd27a0a6fae 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -592,7 +592,6 @@ Parameters:
| `name` | string | yes | The name of the new project |
| `path` | string | no | Custom repository name for new project. By default generated based on name |
| `namespace_id` | integer | no | Namespace for the new project (defaults to the current user's namespace) |
-| `default_branch` | string | no | `master` by default |
| `description` | string | no | Short project description |
| `issues_enabled` | boolean | no | Enable issues for this project |
| `merge_requests_enabled` | boolean | no | Enable merge requests for this project |
@@ -625,6 +624,7 @@ Parameters:
| `user_id` | integer | yes | The user ID of the project owner |
| `name` | string | yes | The name of the new project |
| `path` | string | no | Custom repository name for new project. By default generated based on name |
+| `default_branch` | string | no | `master` by default |
| `namespace_id` | integer | no | Namespace for the new project (defaults to the current user's namespace) |
| `description` | string | no | Short project description |
| `issues_enabled` | boolean | no | Enable issues for this project |