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

Open the full error page →

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.

fatal: multiple stage entries for merged file — error: Entry 'x' is a directory in one branch and a file in another (Git)fatal: mult…unfinished merge — fatal: You have not concluded your merge (MERGE_HEAD exists). Please, commit your changes before you merge. (Git)unfinished mergeCONFLICT — Git: CONFLICT (content): Merge conflict in file — Automatic merge failed (Git)CONFLICTerror: open("file"): Permission denied / unable to index file — error: open("data/db.sqlite"): Permission denied error: unable to index file 'data/db.sqlite' fatal: adding files failed (Git)error: open("file")…fatal: Unable to read current working directory: No such file or directory — fatal: Unable to read current working directory: No such file or directory (Git)fatal: Unable to re…fatal: destination path already exists and is not an empty directory — fatal: destination path 'repo' already exists and is not an empty directory. (Git)fatal: destination …error: could not write index (stash) — error: could not write index / Cannot save the current index state (Git)error: could not wr…error: could not revert a1b2c3d... (conflict) — error: could not revert a1b2c3d... Add feature hint: After resolving the conflicts, mark them with git add/rm (Git)error: could not re…fatal: not removing 'dir' recursively without -r — fatal: not removing 'build' recursively without -r (Git)fatal: not removing…CONFLICT 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…error: bad index file sha1 signature / index file corrupt — error: bad signature 0x00000000 fatal: index file corrupt (Git)error: bad index fi…error: Entry 'file' not uptodate. Cannot merge. — error: Entry 'app.js' not uptodate. Cannot merge. fatal: Merge with strategy recursive failed. (Git)error: Entry 'file'…CONFLICT (modify/delete): file deleted in one branch and modified in the other — CONFLICT (modify/delete): app.js deleted in HEAD and modified in feature. Version feature of app.js left in tree. (Git)CONFLICT (modify/de…changes overwritten — error: Your local changes to the following files would be overwritten by merge (Git)changes overwrittennot possible to fast-forward — fatal: Not possible to fast-forward, aborting. (Git)not possible to fas…index.lock exists — fatal: Unable to create '.git/index.lock': File exists. Another git process seems to be running in this repository (Git)index.lock existsnon-fast-forward — Git: ! [rejected] … (fetch first) — error: failed to push some refs (Git)non-fast-forwardunrelated histories — Git: fatal: refusing to merge unrelated histories (Git)unrelated historiesrebase in progress — fatal: It seems that there is already a rebase-merge directory, and I wonder if you are in the middle of another rebase. (Git)rebase in progress0x80070005 — Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied (Windows)0x80070005sudoers — user is not in the sudoers file. This incident will be reported. (Linux)sudoersUNPROTECTED PRIVATE KEY FILE — WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open (Linux)UNPROTECTED PRIVATE…not a git repository — fatal: not a git repository (or any of the parent directories): .git (Git)not a git repositorycommand not found — bash: command not found (Linux)command not foundArgument list too long — bash: /bin/rm: Argument list too long (Linux)Argument list too l…remote origin exists — error: remote origin already exists. (Git)remote origin existsfatal: unable to access: OpenSSL SSL_read: Connection was reset — fatal: unable to access 'https://github.com/org/repo.git/': OpenSSL SSL_read: Connection was reset, errno 10054 (Git)fatal: unable to ac…fatal: gnutls_handshake() failed: Error in the pull function — fatal: unable to access 'https://host/repo.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated. (Git)fatal: gnutls_hands…No local changes to save — No local changes to save (Git)No local changes to…error: inflate: data stream error / loose object is corrupt — error: inflate: data stream error (incorrect header check) error: unable to unpack header (Git)error: inflate: dat…error: unable to write file / fatal: write error: No space left on device — fatal: write error: No space left on device (Git)error: unable to wr…Windows has detected an IP address conflict — Networking: Windows has detected an IP address conflict / Duplicate address detected by 00:aa:bb:cc:dd:ee (Networking)Windows has detecte…Rebase stopped: CONFLICT (content), resolve then git rebase --continue — Resolve all conflicts manually, mark them as resolved with "git add/rm <conflicted_files>", then run "git rebase --continue". (Git)Rebase stopped: CON…git stash pop: CONFLICT, stash entry is kept — The stash entry is kept in case you need it again. (Git)git stash pop: CONF…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….gitignore not ignoring a file already tracked — (behavior) file still shows in git status after adding to .gitignore (Git).gitignore not igno…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…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…Rebase replays too many commits / unrelated histories — fatal: refusing to merge unrelated histories (Git)Rebase replays too …rerere: Recorded resolution reused wrongly — Resolved 'app.js' using previous resolution. (Git)rerere: Recorded re…corrupt object — error: object file .git/objects/x is empty / fatal: loose object is corrupt (Git)corrupt objectAutomatic Repair couldn't repair your PC — Automatic Repair couldn't repair your PC — Log file: C:\Windows\System32\Logfiles\Srt\SrtTrail.txt (Windows)Automatic Repair co…Lost commits after git reset --hard (recover with reflog) — HEAD is now at a1b2c3d Old commit (Git)Lost commits after …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 …error: 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…fatal: cannot do a partial commit during a merge — fatal: cannot do a partial commit during a merge. (Git)fatal: cannot do a …error: Cannot delete branch checked out at — error: Cannot delete branch 'main' checked out at '/home/user/repo' (Git)error: Cannot delet…This branch has conflicts that must be resolved (GitHub) — This branch has conflicts that must be resolved Use the web editor or the command line to resolve conflicts (Git)This branch has con…package-lock.json merge conflict (regenerate, don't hand-edit) — CONFLICT (content): Merge conflict in package-lock.json (Git)package-lock.json m…

Directly related (12)

unfinished mergeGit

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.

CONFLICTGit

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("file"): Permission denied / unable to index fileGit

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 directoryGit

fatal: Unable to read current working directory: No such file or directory

The folder you were in was deleted or moved.

fatal: destination path already exists and is not an empty directoryGit

fatal: destination path 'repo' already exists and is not an empty directory.

The target folder exists and has files.

error: could not write index (stash)Git

error: could not write index / Cannot save the current index state

Git couldn't write the index while stashing.

error: could not revert a1b2c3d... (conflict)Git

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 'dir' recursively without -rGit

fatal: not removing 'build' recursively without -r

`git rm` needs `-r` to remove directories.

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.

error: bad index file sha1 signature / index file corruptGit

error: bad signature 0x00000000 fatal: index file corrupt

The staging area file `.git/index` is damaged.

error: Entry 'file' not uptodate. Cannot merge.Git

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): file deleted in one branch and modified in the otherGit

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)

changes overwrittenGit

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.

not possible to fast-forwardGit

fatal: Not possible to fast-forward, aborting.

pull is configured to fast-forward only, but your branch and the remote have diverged.

index.lock existsGit

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.

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.

unrelated historiesGit

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.

rebase in progressGit

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).

0x80070005Windows

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…

sudoersLinux

user is not in the sudoers file. This incident will be reported.

Your account isn’t allowed to use sudo.

UNPROTECTED PRIVATE KEY FILELinux

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).

not a git repositoryGit

fatal: not a git repository (or any of the parent directories): .git

You ran a Git command outside a Git working tree.

command not foundLinux

bash: command not found

The shell can’t find an executable with that name in any directory on your PATH.

Argument list too longLinux

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.

remote origin existsGit

error: remote origin already exists.

A remote named origin is already configured.

fatal: unable to access: OpenSSL SSL_read: Connection was resetGit

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: gnutls_handshake() failed: Error in the pull functionGit

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 saveGit

No local changes to save

`git stash` found nothing tracked to stash.

error: inflate: data stream error / loose object is corruptGit

error: inflate: data stream error (incorrect header check) error: unable to unpack header

A Git object file is damaged.

error: unable to write file / fatal: write error: No space left on deviceGit

fatal: write error: No space left on device

The disk is full while Git writes objects.

Windows has detected an IP address conflictNetworking

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.

Rebase stopped: CONFLICT (content), resolve then git rebase --continueGit

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.

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.

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.

.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.

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.

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.

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.

rerere: Recorded resolution reused wronglyGit

Resolved 'app.js' using previous resolution.

git rerere re-applied an earlier conflict resolution you didn't want.

corrupt objectGit

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 PCWindows

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.

Lost commits after git reset --hard (recover with reflog)Git

HEAD is now at a1b2c3d Old commit

A hard reset moved the branch back and your newer commits look gone.

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.

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.

fatal: cannot do a partial commit during a mergeGit

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 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.

This branch has conflicts that must be resolved (GitHub)Git

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.

package-lock.json merge conflict (regenerate, don't hand-edit)Git

CONFLICT (content): Merge conflict in package-lock.json

Lock files conflict constantly because they're generated.