Error map
! [rejected] (stale info) force-with-lease ! [rejected] main -> main (stale info)
Git · layer 7, Build & delivery
Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.
Directly related (12)
hint: You have divergent branches and need to specify how to reconcile them.
Git 2.27+ asks you to choose merge, rebase or fast-forward-only when local and remote both have new commits.
Git: ! [rejected] … (fetch first) — error: failed to push some refs
The remote branch has commits you don’t have locally, so Git refuses to overwrite them. Pull (merge or rebase) first, then push.
! [rejected] v1.0.0 -> v1.0.0 (already exists) error: failed to push some refs
The remote already has that tag pointing elsewhere.
! [rejected] main -> main (non-fast-forward) after amend
Amending a pushed commit rewrites history, so the remote refuses the push.
remote: GitLab: You are not allowed to push code to protected branches on this project.
GitLab's protected branch settings block your push.
remote: Branch permissions: You are not allowed to push to branch main
Bitbucket branch restrictions reject your direct push.
remote: TF401027: You need the GenericContribute permission to perform this action.
Azure DevOps denies the push for lack of permission.
ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service
The app uses push but lacks the aps-environment entitlement.
{"reason":"Unregistered","timestamp":1700000000}
The device token is no longer valid (app uninstalled or token rotated).
(behavior) rich push image/mutable-content not working
The Notification Service Extension isn't being invoked.
remote: TF402455: Pushes to this branch are not permitted; you must use a pull request to update this branch.
Branch policies on Azure Repos block direct pushes.
remote: error: no new changes
Gerrit sees nothing new in the pushed commit.
Two steps away (35)
HTTP 413 Content Too Large (Request Entity Too Large)
The request body is bigger than the server is willing to accept — usually a file upload over the configured limit.
OAuth Error: redirect_uri_mismatch
The redirect URI in your OAuth request doesn’t exactly match one registered for the client in the provider’s console.
WordPress: Error Establishing a Database Connection
WordPress can’t connect to its MySQL/MariaDB database with the credentials in wp-config.php, or the database server is down.
Git: CONFLICT (content): Merge conflict in file — Automatic merge failed
Both branches changed the same lines; Git needs you to choose the final content before completing the merge/rebase.
Git: Permission denied (publickey). fatal: Could not read from remote repository.
SSH authentication to GitHub/GitLab/Bitbucket failed — no key, wrong key, or the key isn’t added to your account.
Git: fatal: refusing to merge unrelated histories
The two branches have no common ancestor — typically a local repo and a remote that were both initialized separately.
fatal: tag 'v1.0.0' already exists
A tag with that name exists already.
! [rejected] v1.0 -> v1.0 (would clobber existing tag)
A fetched tag would replace one you already have with a different target.
! [remote rejected] main (deletion of the current branch prohibited)
The server won't delete its default branch.
error: src refspec main does not match any
You pushed a branch name that doesn’t exist locally — usually no commits yet, or the branch is called master not main.
error: RPC failed; HTTP 400 curl 22 / curl 92 HTTP/2 stream was not closed cleanly — the remote end hung up unexpectedly
A large HTTPS push/clone broke mid-transfer — size limits, proxies or flaky HTTP/2.
remote: error: GH001: Large files detected. File x is 120 MB; this exceeds GitHub's file size limit of 100.00 MB
GitHub rejected the push because a file over 100 MB is in your commits — even if you deleted it later.
remote: error: unable to create temporary object directory
The server couldn't store the pushed objects.
hint: The '.git/hooks/pre-commit' hook was ignored because it's not set as executable.
Git skipped your hook because it lacks exec permission.
error: failed to push some refs to 'github.com:org/repo.git' (pre-push hook returned non-zero)
A local pre-push hook returned an error and blocked the push.
Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied
Windows refused an operation because the account or process lacks permission — seen in Windows Update, installers, Task Scheduler…
user is not in the sudoers file. This incident will be reported.
Your account isn’t allowed to use sudo.
remote: error: GH006: Protected branch update failed / pre-receive hook declined
The server rejected your push because of branch protection rules or a server-side hook.
! [remote rejected] main -> main (shallow update not allowed)
You pushed from a shallow clone to a remote that doesn’t accept shallow history.
! [remote rejected] main -> main (branch is currently checked out)
You pushed to a non-bare repository whose working tree has that branch checked out.
fatal: The current branch x has no upstream branch.
The local branch isn’t linked to a remote branch yet, so a bare git push doesn’t know where to go.
FirebaseMessaging: Fetching FCM registration token failed java.io.IOException: SERVICE_NOT_AVAILABLE
The device couldn't register with Firebase Cloud Messaging.
remote: error: GH013: Repository rule violations found. - Push cannot contain secrets
GitHub blocked the push because a commit contains a detected secret.
remote: fatal: pack exceeds maximum allowed size (2.00 GiB)
The pushed pack is larger than the server allows.
remote: Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization.
Your token or SSH key isn't authorized for the org's SSO.
gh: Bad credentials (HTTP 401) / error validating token: HTTP 401
The GitHub CLI token is invalid or expired.
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled
GitLab rejected your HTTPS login.
Failed to register for remote notifications: no valid “aps-environment” entitlement string found for application
The app is missing the Push Notifications capability in its signing.
{"reason":"BadDeviceToken"} HTTP/2 400 from api.push.apple.com
APNs rejected the device token for the environment you used.
{"reason":"InvalidProviderToken"} HTTP/2 403
APNs rejected the JWT or key you used to authenticate.
This branch has conflicts that must be resolved Use the web editor or the command line to resolve conflicts
GitHub can't merge the pull request automatically.
remote: error: GH007: Your push would publish a private email address. You can make your email public or disable this protection by visiting: https://github.com/settings/emails
GitHub blocks pushes whose commits use your private email.
Sorry, this diff is taking too long to generate. The diff is too large to display
GitHub can't render a very large pull request diff.
remote: ERROR: [a1b2c3d] missing Change-Id in message footer
Gerrit requires a Change-Id footer on every commit.
error: failed to update ref: refs/heads/main is at a1b2 but expected c3d4
Another process changed the ref while Git updated it.
Map another error
Popular: ERR_HTTP2_PROTOCOL_ERROR5004004031064ORA-00933Critical errorTypeError