Merge branch 'docs-fix-submodule-api-example' into 'master'
Docs - Fix repository submodule API example See merge request gitlab-org/gitlab-ce!23561
This commit is contained in:
commit
cae69a15c4
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ PUT /projects/:id/repository/submodules/:submodule
|
|||
| `commit_message` | string | no | Commit message. If no message is provided, a default one will be set |
|
||||
|
||||
```sh
|
||||
curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/5/repositories/submodules/lib%2Fmodules%2Fexample"
|
||||
curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/5/repository/submodules/lib%2Fmodules%2Fexample"
|
||||
--data "branch=master&commit_sha=3ddec28ea23acc5caa5d8331a6ecb2a65fc03e88&commit_message=Update submodule reference"
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue