Error map
fatal: Cannot rebase onto multiple branches fatal: Cannot rebase onto multiple branches.
Git · layer 7, Build & delivery
Centre: this error. First ring: errors it is linked with (11). 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 (11)
fatal: bad object refs/heads/main
A branch file under `.git/refs` is corrupt or empty.
error: failed to update ref: refs/heads/main is at a1b2 but expected c3d4
Another process changed the ref while Git updated it.
error: cannot update the ref 'HEAD': unable to append to '.git/logs/HEAD': Permission denied
Git can't write reflog or ref files.
hint: Pulling without specifying how to reconcile divergent branches is discouraged.
Git asks you to choose merge or rebase when pulling diverged branches.
(behavior) "ours" and "theirs" are reversed in git rebase
During a rebase Git's "ours" is the branch you rebase onto, and "theirs" is your own commit.
fatal: Branch rename failed
Git couldn't rename the branch.
error: ambiguous use of 'init(content:)'
Overloads match the call equally.
Resolve all conflicts manually, mark them as resolved with "git add/rm <conflicted_files>", then run "git rebase --continue".
A commit being replayed conflicts with the new base.
warning: refname 'release' is ambiguous. Git normally never creates a ref that ends with 40 hex characters
A branch and a tag share a name.
(behavior) fixup! commits left in place after rebase -i --autosquash
Fixup commits weren't matched to their targets.
fatal: 'feature/my branch' is not a valid branch name.
The branch name contains characters Git forbids.
Two steps away (32)
error: object file .git/objects/x is empty / fatal: loose object is corrupt
The local Git object database is corrupted — usually after a crash, disk full or sync tool interference.
warning: ignoring broken ref refs/remotes/origin/HEAD
A ref file is empty or points to a missing object — usually refs/remotes/origin/HEAD after the default branch changed.
error: inflate: data stream error (incorrect header check) error: unable to unpack header
A Git object file is damaged.
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.
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.
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…
WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open
SSH refuses to use a private key that other users can read; it must be readable only by you (chmod 600).
GitHub Actions: Error: Resource not accessible by integration (403)
The workflow’s GITHUB_TOKEN doesn’t have the permission needed for that API call (comment, push, create release, write packages).
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.
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`.
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.
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.
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.
fatal: No rebase in progress?
You ran `git rebase --continue` or `--abort` when no rebase is active.
fatal: a branch named 'x' already exists
You tried to create a branch whose name is already taken locally.
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 'main' checked out at '/home/user/repo'
You can't delete a branch that is checked out in this or another worktree.
Swift: Type of expression is ambiguous without a type annotation (more context)
The compiler can’t infer which type you mean — often because of a typo or a wrong argument elsewhere in the expression.
error: Value of optional type 'String?' must be unwrapped to a value of type 'String'
You used an optional where a non-optional value is required.
error: Missing return in a function expected to return 'Int'
A code path in your function ends without returning a value.
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).
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.
Resolved 'app.js' using previous resolution.
git rerere re-applied an earlier conflict resolution you didn't want.
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.
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.
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.
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.
fatal: 'feature/x' is already checked out at '/home/user/repo-wt'
A branch can be checked out in only one worktree at a time.
fatal: invalid reference: feature/login
Git can't find a branch or commit with that name.
remote: Branch permissions: You are not allowed to push to branch main
Bitbucket branch restrictions reject your direct push.