Can I use branch protection rules if all members in the team have github education? #191157
Replies: 4 comments 2 replies
-
|
No, because if it’s in a GitHub organization, having GitHub Education on each of the members’ personal accounts does not enable branch protection for the organization’s private repos. For org-owned private repos, branch protection requires GitHub Team or Enterprise. The free org plan only fully supports those features on public repos. If this is for a class, the easiest workaround is to have a teacher apply for GitHub Education for teachers, which gives your org GitHub Team for free. Alternatively, you can host the repo under a personal account with GitHub Pro, which does support branch protection on private repos. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for posting in the GitHub Community, @Clarkson1415! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category, the Discussions category is solely related to conversations around the GitHub product Discussions. This question should be in the |
Beta Was this translation helpful? Give feedback.
-
|
Yes, you can use branch protection rules with GitHub Education — but there’s an important distinction depending on how your team is set up. |
Beta Was this translation helpful? Give feedback.
-
|
Having GitHub Education on individual accounts doesn’t unlock branch protection for org private repos. You still need a paid org plan for that. But a simple workaround is to host the repo under your personal account (with Pro from education), invite your team, and then you can use branch protection there. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Discussion Type
Question
Discussion Content
Like it says, I want to use branch protection rules on a private repository, but we are students collaborating on a project. I can't find a clear answer anywhere and we don't want to have to pay for each seat just for branch protection rules. It is for a University project so we will apply for an education license anyway. But we have to wait 72 hours after applying anyway. so, I just want to know if anyone has a GitHub education account are you able to set branch rules on a private repository?
Beta Was this translation helpful? Give feedback.
All reactions