DEV Community

SyedAsadRazaDevops
SyedAsadRazaDevops

Posted on • Edited on

How to Create PR | Protect Specific Branch merge on git push

Managing a branch protection rule

you can create a branch protection rule to enforce certain workflows for one or more branches, such as requiring an approving review or passing status checks for all pull requests merged into the protected branch.

NOTE
Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server.

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

For more details you can visit on github repo.
[https://github.com/SyedAsadRazaDevops/how-to-protect-spacific-branch-merg-on-git-push-/blob/main/README.md]

Top comments (0)