Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

cli syntax issue #1732

Open
Open
Labels
@angegar

Description

@angegar

Description of the problem, including code/CLI snippet

Hello,
First of all thank you for the work done in this project, it is helpful.

I am trying to manage some gitlab configuration with python-gitlab CLI, however I do not find the right syntax to protect a branch. I am struggling with the parameters :

--allowed-to-push
--allowed-to-merge

Can someone help me ?

**The syntax below does not work

   gitlab project-protected-branch create --project-id xxx\      --name master \      --allowed-to-merge='user_id: xxx' \      --code-owner-approval-required=true \      --push-access-level=0 \      --merge-access-level=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp