Hallo, Entdecker! An dieser Seite wird aktiv gearbeitet, oder sie wird noch übersetzt. Die neuesten und genauesten Informationen findest Du in unserer englischsprachigen Dokumentation.

Informationen zu Branch-Einschränkungen

Branches within repositories that belong to organizations can be configured so that only certain users, teams, or apps can push to the branch.

Geschützte Branches sind verfügbar in öffentlichen Repositorys mit GitHub Free und GitHub Free für Organisationen, und in öffentlichen und privaten Repositorys mit GitHub Pro, GitHub Team, GitHub Enterprise Cloud, und GitHub Enterprise Server. Die Fähigkeit, Branches einzuschränken, ist ein Branch-Schutztyp, der für öffentliche und private Repositorys verfügbar ist, die Organisationen in GitHub Team, GitHub Enterprise Cloud und GitHub Enterprise Server gehören.

Did this doc help you?

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Oder, learn how to contribute.

When you enable branch restrictions, only users, teams, or apps that have been given permission can push to the protected branch. Weitere Informationen findest Du unter „Branch-Einschränkungen aktivieren" und „Über geschützte Branches." You can view and edit the users, teams, or apps with push access to a protected branch in the protected branch's settings.

You can only give push access to a protected branch to users, teams, or installed GitHub Apps with write access to a repository.

People and apps with admin permissions to a repository are always able to push to a protected branch.

Note: If "Include administrators" is selected, you've enabled required status checks on the branch, and if any status checks fail, any attempt to push changes to the protected branch will also fail, even for people and apps with admin permissions. Weitere Informationen findest Du unter „Erforderlicher Statuschecks aktivieren."

Weiterführende Informationen

Did this doc help you?

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Oder, learn how to contribute.