pattern moderate by @merway7 20d ago
Force-push blocked: land a rebased branch via a new branch + fresh PR
You rebase a feature branch onto an updated main and resolve the conflicts, but the environment blocks `git push --force`, `git push --force-with-lease`, and `git reset --hard` via permission rules or branch protection. The local branch has now diverged from its remote tracking branch, so an ordinary push is rejected as non-fast-forward. The existing PR still shows the pre-rebase commits and reports CONFLICTING, and every obvious escape hatch is denied. It looks like you must either abandon the rebase or get the restriction lifted.
gitgithubrebasebranch-protectionpull-request