Anyone with admin permissions to a repository can enable force pushes.
About force pushes to protected branches
By default, force pushes are blocked on all protected branches. When you enable force pushes to a protected branch, anyone with at least write permissions to the repository can force push to the branch, including those with admin permissions.
Enabling force pushes will not override any other branch protection rules. For example, if a branch requires a linear commit history, you cannot force push merge commits to that branch.
You cannot enable force pushes for a protected branch if a site administrator has blocked force pushes to all branches in your repository. For more information, see "Blocking force pushes to repositories owned by a user account or organization."
If a site administrator has blocked force pushes to the default branch only, you can still enable force pushes for any other protected branch.
Du kannst geschützte Branch-Einstellungen automatisch für einige oder alle Branches in Deinem Repository erzwingen. Weitere Informationen finden Sie unter „Geschützte Branches konfigurieren“.
Enabling force pushes
- Navigiere in GitHub Enterprise zur Hauptseite des Repository.
- Klicke unter Deinem Repository-Namen auf Settings (Einstellungen).

- Klicke im linken Menü auf Branches.

- Klicke neben „Branch protection rules" (Branch-Schutzregeln) auf Add rule (Regel hinzufügen.)

- Gib unter „Branch name pattern" (Branch-Namensmuster) den Branch-Namen oder das Muster ein, das Du schützen möchtest.

- Under "Rules applied to everyone including administrators", select Allow force pushes.

- Click Create.