2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Azure DevOps でブランチを保護する

Posted at

Branches security の Force push を Deny に設定することで保護ができます。 GitHub や GitLab などは設定が「ブランチの保護」に対して、 Azure DevOps は「強制プッシュしない(ブランチの削除なども)」になっているため、設定方法の違いに要注意です。

手順

  1. Branches > 保護対象のブランチメニュー > Branches security を選択します。
    Image from Gyazo

  2. Contributors の Force push を Deny に設定します。グループをカスタマイズして利用していたり、特定のユーザーのみ保護したい場合は Contributors ではなく、保護対象のグループやユーザーを選択してください。
    Image from Gyazo

参考

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?