Error map

Your branch and 'origin/main' have diverged Your branch and 'origin/main' have diverged, and have 2 and 3 different commits each, respectively.

Git · layer 7, Build & delivery

Open the full error page →

Centre: this error. First ring: errors it is linked with (9). 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.

Your branch and 'origin/main' have diverged — Your branch and 'origin/main' have diverged, and have 2 and 3 different commits each, respectively. (Git)Your branch…divergent branches — hint: You have divergent branches and need to specify how to reconcile them. (Git)divergent branchesRebase replays too many commits / unrelated histories — fatal: refusing to merge unrelated histories (Git)Rebase replays too …No local changes to save — No local changes to save (Git)No local changes to…The following paths are ignored by one of your .gitignore files — The following paths are ignored by one of your .gitignore files: dist hint: Use -f if you really want to add them. (Git)The following paths…nothing to commit, working tree clean — On branch main nothing to commit, working tree clean (Git)nothing to commit, …Applying: patch failed. When you have resolved this problem, run git am --continue — Patch failed at 0001 Fix bug. hint: Use 'git am --show-current-patch' to see the failed patch (Git)Applying: patch fai…Your branch is based on 'origin/x', but the upstream is gone — Your branch is based on 'origin/feature', but the upstream is gone. (Git)Your branch is base…git status is very slow on a large repo — (behavior) git status takes 30+ seconds (Git)git status is very …hint: You have divergent branches and need to specify how to reconcile them (pull.rebase) — hint: Pulling without specifying how to reconcile divergent branches is discouraged. (Git)hint: You have dive…413 — HTTP 413 Content Too Large (Request Entity Too Large) (HTTP)413redirect_uri_mismatch — OAuth Error: redirect_uri_mismatch (Authentication)redirect_uri_mismat…DB connection — WordPress: Error Establishing a Database Connection (WordPress)DB connectionnon-fast-forward — Git: ! [rejected] … (fetch first) — error: failed to push some refs (Git)non-fast-forwardCONFLICT during cherry-pick — error: could not apply a1b2c3d... Fix login bug / hint: After resolving the conflicts, mark them with git add/rm, then run git cherry-pick --continue (Git)CONFLICT during che…git bisect: some good revs are not ancestors of the bad rev — Some good revs are not ancestors of the bad rev. git bisect cannot work properly in this case. (Git)git bisect: some go…pathspec did not match — error: pathspec 'x' did not match any file(s) known to git (Git)pathspec did not ma…git stash pop: CONFLICT, stash entry is kept — The stash entry is kept in case you need it again. (Git)git stash pop: CONF…stash@{0} is not a valid reference — fatal: log for 'stash' only has 1 entries / stash@{3} is not a valid reference (Git)stash@{0} is not a …unknown revision HEAD — fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. (Git)unknown revision HE…You need to start by git bisect start — You need to start by "git bisect start" / We are not bisecting. (Git)You need to start b….gitignore not ignoring a file already tracked — (behavior) file still shows in git status after adding to .gitignore (Git).gitignore not igno…cherry-pick: The previous cherry-pick is now empty — The previous cherry-pick is now empty, possibly due to conflict resolution. (Git)cherry-pick: The pr…error: There was a problem with the editor 'vi' — error: There was a problem with the editor 'vi'. Please supply the message using either -m or -F option. (Git)error: There was a …no changes added to commit (use git add and/or git commit -a) — Changes not staged for commit: modified: app.js no changes added to commit (Git)no changes added to…Authentication failed — fatal: Authentication failed for 'https://github.com/x/y.git/' (Git)Authentication fail…! [rejected] tag -> tag (would clobber existing tag) — ! [rejected] v1.0 -> v1.0 (would clobber existing tag) (Git)! [rejected] tag ->…Azure DevOps: TF401019 / VS403 push rejected — remote: TF401027: You need the GenericContribute permission to perform this action. (Git)Azure DevOps: TF401…no upstream branch — fatal: The current branch x has no upstream branch. (Git)no upstream brancherror: The branch is not fully merged — error: The branch 'feature/x' is not fully merged. If you are sure you want to delete it, run 'git branch -D feature/x'. (Git)error: The branch i…error: Cannot delete branch checked out at — error: Cannot delete branch 'main' checked out at '/home/user/repo' (Git)error: Cannot delet…Auto packing the repository in background for optimum performance — Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. (Git)Auto packing the re…sparse-checkout: no files match / cone mode error — error: specify directories rather than patterns (no leading slash) (Git)sparse-checkout: no…Hang detected: main thread unresponsive (MetricKit diagnostics) — MXHangDiagnostic: hang duration 2.4s (iOS)Hang detected: main…no "ssl_certificate" is defined for the "listen ... ssl" directive — Nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/sites-enabled/default:3 (SSL / TLS)no "ssl_certificate…SSLCertificateFile: file does not exist — Apache: AH02240: Server should be SSL-aware but has no certificate configured / SSLCertificateFile: file '/etc/ssl/x.crt' does not exist or is empty (SSL / TLS)SSLCertificateFile:…openssl.cnf — OpenSSL: Can't open openssl.cnf for reading / error loading config file (SSL / TLS)openssl.cnf

Directly related (9)

divergent branchesGit

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.

Rebase replays too many commits / unrelated historiesGit

fatal: refusing to merge unrelated histories

The two branches have no common ancestor, so Git refuses to merge them.

No local changes to saveGit

No local changes to save

`git stash` found nothing tracked to stash.

The following paths are ignored by one of your .gitignore filesGit

The following paths are ignored by one of your .gitignore files: dist hint: Use -f if you really want to add them.

You tried to add a file that .gitignore excludes.

nothing to commit, working tree cleanGit

On branch main nothing to commit, working tree clean

Git sees no changes to commit.

Applying: patch failed. When you have resolved this problem, run git am --continueGit

Patch failed at 0001 Fix bug. hint: Use 'git am --show-current-patch' to see the failed patch

`git am` stopped on a patch that doesn't apply.

Your branch is based on 'origin/x', but the upstream is goneGit

Your branch is based on 'origin/feature', but the upstream is gone.

The remote branch was deleted (usually after merging a PR).

git status is very slow on a large repoGit

(behavior) git status takes 30+ seconds

Git scans the whole working tree on each status.

hint: You have divergent branches and need to specify how to reconcile them (pull.rebase)Git

hint: Pulling without specifying how to reconcile divergent branches is discouraged.

Git asks you to choose merge or rebase when pulling diverged branches.

Two steps away (27)

413HTTP

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.

redirect_uri_mismatchAuthentication

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.

DB connectionWordPress

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.

non-fast-forwardGit

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.

CONFLICT during cherry-pickGit

error: could not apply a1b2c3d... Fix login bug / hint: After resolving the conflicts, mark them with git add/rm, then run git cherry-pick --continue

The picked commit touches lines that differ on your branch.

git bisect: some good revs are not ancestors of the bad revGit

Some good revs are not ancestors of the bad rev. git bisect cannot work properly in this case.

The commit you marked good isn't in the history of the bad one.

pathspec did not matchGit

error: pathspec 'x' did not match any file(s) known to git

Git couldn’t find the file or branch name you referenced.

git stash pop: CONFLICT, stash entry is keptGit

The stash entry is kept in case you need it again.

Applying your stash conflicted with the working tree.

stash@{0} is not a valid referenceGit

fatal: log for 'stash' only has 1 entries / stash@{3} is not a valid reference

The stash index doesn't exist.

unknown revision HEADGit

fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.

The repository has no commits yet (or the ref doesn’t exist), so HEAD can’t be resolved.

You need to start by git bisect startGit

You need to start by "git bisect start" / We are not bisecting.

A bisect command was used before starting or after finishing.

.gitignore not ignoring a file already trackedGit

(behavior) file still shows in git status after adding to .gitignore

Git keeps tracking files that were committed before you ignored them.

cherry-pick: The previous cherry-pick is now emptyGit

The previous cherry-pick is now empty, possibly due to conflict resolution.

The commit you picked has no changes left, because the same changes already exist on your branch.

error: There was a problem with the editor 'vi'Git

error: There was a problem with the editor 'vi'. Please supply the message using either -m or -F option.

Git couldn't open your configured editor to collect a message or todo list.

no changes added to commit (use git add and/or git commit -a)Git

Changes not staged for commit: modified: app.js no changes added to commit

Edits exist but none are staged.

Authentication failedGit

fatal: Authentication failed for 'https://github.com/x/y.git/'

HTTPS authentication to the Git host failed — wrong or expired credentials, or a password used where a token is required.

! [rejected] tag -> tag (would clobber existing tag)Git

! [rejected] v1.0 -> v1.0 (would clobber existing tag)

A fetched tag would replace one you already have with a different target.

Azure DevOps: TF401019 / VS403 push rejectedGit

remote: TF401027: You need the GenericContribute permission to perform this action.

Azure DevOps denies the push for lack of permission.

no upstream branchGit

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.

error: The branch is not fully mergedGit

error: The branch 'feature/x' is not fully merged. If you are sure you want to delete it, run 'git branch -D feature/x'.

Git refuses to delete a branch whose commits aren't merged elsewhere.

error: Cannot delete branch checked out atGit

error: Cannot delete branch 'main' checked out at '/home/user/repo'

You can't delete a branch that is checked out in this or another worktree.

Auto packing the repository in background for optimum performanceGit

Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping.

Git is running garbage collection after a command.

sparse-checkout: no files match / cone mode errorGit

error: specify directories rather than patterns (no leading slash)

Cone-mode sparse checkout accepts only directory names.

Hang detected: main thread unresponsive (MetricKit diagnostics)iOS

MXHangDiagnostic: hang duration 2.4s

MetricKit reported a hang in your app.

no "ssl_certificate" is defined for the "listen ... ssl" directiveSSL / TLS

Nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/sites-enabled/default:3

A server block listens with `ssl` but has no `ssl_certificate` and `ssl_certificate_key`.

SSLCertificateFile: file does not existSSL / TLS

Apache: AH02240: Server should be SSL-aware but has no certificate configured / SSLCertificateFile: file '/etc/ssl/x.crt' does not exist or is empty

Apache cannot find the certificate or key file named in its configuration, or `SSLEngine on` is set without any certificate.

openssl.cnfSSL / TLS

OpenSSL: Can't open openssl.cnf for reading / error loading config file

OpenSSL can't find or parse its configuration file, so `req`, `ca` or `x509` commands abort.