Error map
fatal: cannot do a partial commit during a merge fatal: cannot do a partial commit during a merge.
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.
(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.
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: 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: 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.
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.
On branch main nothing to commit, working tree clean
Git sees no changes to commit.
Changes not staged for commit: modified: app.js no changes added to commit
Edits exist but none are staged.
fatal: your current branch 'main' does not have any commits yet
Commands needing history ran in a brand-new repo.
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.
error: cannot run merge driver / fatal: unable to run merge driver
.gitattributes references a merge driver that isn't configured.
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).
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.
fatal: No rebase in progress?
You ran `git rebase --continue` or `--abort` when no rebase is active.
CONFLICT (add/add): Merge conflict in config.yml
Both branches created the same file with different content.
error: You have not concluded your cherry-pick (CHERRY_PICK_HEAD exists). Please, commit your changes before you merge.
A previous cherry-pick is still open.
fatal: a1b2c3d is a tree, not a commit / error: object a1b2c3d is a tree, not a commit
A command wanted a commit but got a tree.
error: pathspec 'fix' did not match any file(s) known to git error: pathspec 'login' did not match any file(s) known to git
A commit message without quotes was split into file names.
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.
fatal: refusing to merge unrelated histories
The two branches have no common ancestor, so Git refuses to merge them.
The stash entry is kept in case you need it again.
Applying your stash conflicted with the working tree.
Author identity unknown *** Please tell me who you are.
Git doesn’t know your name and email for commits.
fatal: bad config line 12 in file /home/user/.gitconfig
A Git config file has invalid syntax.
fatal: invalid object name 'abc...' in ignore-revs-file
git blame can't read the ignore-revs file or a hash in it is invalid.
fatal: a branch named 'x' already exists
You tried to create a branch whose name is already taken locally.
HEAD is now at a1b2c3d Old commit
A hard reset moved the branch back and your newer commits look gone.
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.
No local changes to save
`git stash` found nothing tracked to stash.
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.
error: pathspec 'x' did not match any file(s) known to git
Git couldn’t find the file or branch name you referenced.
fatal: pathspec 'link/file.txt' is beyond a symbolic link
You tried to add a path through a symlink.
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: 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.
error: 'self' captured by a closure before all members were initialized
A closure uses `self` before all stored properties are set.
hint: Using 'master' as the name for the initial branch. This default branch name is subject to change.
A harmless hint: Git's default initial branch name is configurable.
fatal: log for 'stash' only has 1 entries / stash@{3} is not a valid reference
The stash index doesn't exist.
error: bad signature 0x00000000 fatal: index file corrupt
The staging area file `.git/index` is damaged.
error: Entry 'x' is a directory in one branch and a file in another
The index has conflicting entries for one path.
Networking: No Wi-Fi networks found — the Wi-Fi adapter is missing, disabled or its driver failed
The operating system doesn't see a working wireless adapter, so no networks can be listed.
hint: The '.git/hooks/pre-commit' hook was ignored because it's not set as executable.
Git skipped your hook because it lacks exec permission.
warning: Cannot merge binary files: image.png (HEAD vs. feature)
Git can't merge binary files line by line.