Github - Branch Protection
Github - To protect the branch from developers to commit directly, we can use the Brach Protection Rules. By doing this no one can check in the code directly to the brach and developers need to raise a pull request and then someone review and then merge the code to the restricted branch.
This option will enforce all the code committed are reviewed by someone.
This option will enforce all the code committed are reviewed by someone.
Comments