Error map
fatal: multiple stage entries for merged file error: Entry 'x' is a directory in one branch and a file in another
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)
fatal: You have not concluded your merge (MERGE_HEAD exists). Please, commit your changes before you merge.
A merge is still in progress — conflicts were resolved (or not) but not committed.
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: open("data/db.sqlite"): Permission denied error: unable to index file 'data/db.sqlite' fatal: adding files failed
Git can't read a file to stage it.
fatal: Unable to read current working directory: No such file or directory
The folder you were in was deleted or moved.
fatal: destination path 'repo' already exists and is not an empty directory.
The target folder exists and has files.
error: could not write index / Cannot save the current index state
Git couldn't write the index while stashing.
error: could not revert a1b2c3d... Add feature hint: After resolving the conflicts, mark them with git add/rm
Reverting a commit conflicts with later changes.
fatal: not removing 'build' recursively without -r
`git rm` needs `-r` to remove directories.
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.
error: bad signature 0x00000000 fatal: index file corrupt
The staging area file `.git/index` is damaged.
error: Entry 'app.js' not uptodate. Cannot merge. fatal: Merge with strategy recursive failed.
A file with uncommitted changes would be touched by the merge.
CONFLICT (modify/delete): app.js deleted in HEAD and modified in feature. Version feature of app.js left in tree.
One branch deleted a file while the other changed it.
Two steps away (36)
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: Unable to create '.git/index.lock': File exists. Another git process seems to be running in this repository
A lock file from another (or crashed) Git process blocks this command.
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: 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: 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).
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.
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).
fatal: not a git repository (or any of the parent directories): .git
You ran a Git command outside a Git working tree.
bash: command not found
The shell can’t find an executable with that name in any directory on your PATH.
bash: /bin/rm: Argument list too long
A glob like * expanded to more file names than the kernel allows in one command (ARG_MAX), so the command never ran.
error: remote origin already exists.
A remote named origin is already configured.
fatal: unable to access 'https://github.com/org/repo.git/': OpenSSL SSL_read: Connection was reset, errno 10054
The TLS connection to the Git host was dropped mid-transfer.
fatal: unable to access 'https://host/repo.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
Git's TLS library (GnuTLS) failed the handshake with the server.
No local changes to save
`git stash` found nothing tracked to stash.
error: inflate: data stream error (incorrect header check) error: unable to unpack header
A Git object file is damaged.
fatal: write error: No space left on device
The disk is full while Git writes objects.
Networking: Windows has detected an IP address conflict / Duplicate address detected by 00:aa:bb:cc:dd:ee
Two devices on the same network are using the same IP address, so traffic reaches the wrong one or neither.
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.
The stash entry is kept in case you need it again.
Applying your stash conflicted with the working tree.
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.
(behavior) file still shows in git status after adding to .gitignore
Git keeps tracking files that were committed before you ignored them.
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.
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.
fatal: refusing to merge unrelated histories
The two branches have no common ancestor, so Git refuses to merge them.
Resolved 'app.js' using previous resolution.
git rerere re-applied an earlier conflict resolution you didn't want.
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.
Automatic Repair couldn't repair your PC — Log file: C:\Windows\System32\Logfiles\Srt\SrtTrail.txt
Windows failed to boot repeatedly and Startup Repair couldn’t fix it; SrtTrail.txt records the root cause it found.
HEAD is now at a1b2c3d Old commit
A hard reset moved the branch back and your newer commits look gone.
fatal: log for 'stash' only has 1 entries / stash@{3} is not a valid reference
The stash index doesn't exist.
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.
fatal: cannot do a partial commit during a merge.
You tried to commit selected files in the middle of a merge.
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.
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.
CONFLICT (content): Merge conflict in package-lock.json
Lock files conflict constantly because they're generated.