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 If the user does not have the
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
p4 grant-permission -u bruno -p force-push -d gD1
See p4 grant-permission in P4 CLI Reference. |