Search code examples
githubgit-push

How to grant user who can commit directly to protected branch on GitHub


I am using a repository which has a protected branch. How to grant an user who can commit directly to protected branch on GitHub. I am admin so I don't want to grant other guide to become a admin (Who can delete the repository)

User can't commit directly


Solution

  • You can give the user "write" permission, instead of full "admin" permission. See https://help.github.com/articles/repository-permission-levels-for-an-organization/.