Error map
unrelated histories Git: fatal: refusing to merge unrelated histories
Git Β· layer 7, Build & delivery
Centre: this error. First ring: errors it is linked with (2). 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 (2)
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.
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.
Two steps away (6)
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.
fatal: not a git repository (or any of the parent directories): .git
You ran a Git command outside a Git working tree.
You are in 'detached HEAD' state.
HEAD points at a commit instead of a branch, so new commits wonβt belong to any branch.
error: Your local changes to the following files would be overwritten by merge
git pull/merge would modify files youβve changed but not committed.
fatal: Not possible to fast-forward, aborting.
pull is configured to fast-forward only, but your branch and the remote have diverged.
fatal: It seems that there is already a rebase-merge directory, and I wonder if you are in the middle of another rebase.
A previous rebase is still in progress (or was interrupted).
Map another error
Popular: 4035004000xC000007BTypeErrorCritical error404NullPointerException