gh pr merge 123 --merge --admin

Category: GitHub CLI

gh pr merge 123 --merge --admin

Force-merge a PR with admin privileges

--merge creates a standard merge commit while --admin uses repository administrator powers to merge even when required checks fail. Bypassing checks is risky and should be reserved for hotfixes where failure is understood. The merge is recorded with admin as the actor.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.