Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Server Administration Documentation | 2025.1

# Unable to force a push: missing force-push permission

Problem | Solution
--- | ---
Some organizations allow one or more special users or administrators to overwrite other people’s work by granting this user the `force-push` permission. The `force-push` permission implies the powers associated with the following permissions: `read`, `write-ref`, `write-all`, `create-ref` and `delete-ref`. If the user does not have the `force-push` permission,
    git push --force origin branchName
results in
    remote:  ! [remote rejected]
    d59...2bf - branchName
    (User bruno does not
    have force-push privilege for
    reference refs/heads/branchName.)
| Grant the `force-push` permission to the special user.
    p4 grant-permission -u bruno -p force-push -d gD1
See p4 grant-permission in P4 CLI Reference.

Your search for returned results