Error map
index.lock exists fatal: Unable to create '.git/index.lock': File exists. Another git process seems to be running in this repository
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: Authentication failed for 'https://github.com/x/y.git/'
HTTPS authentication to the Git host failed — wrong or expired credentials, or a password used where a token is required.
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).
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.
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: a branch named 'x' already exists
You tried to create a branch whose name is already taken locally.
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: There are too many unreachable loose objects; run 'git prune' to remove them.
Git’s automatic garbage collection found many unreachable objects and is asking you to prune.
error: insufficient permission for adding an object to repository database .git/objects
Some object files are owned by another user (often root).
error: could not write index / Cannot save the current index state
Git couldn't write the index while stashing.
error: failed to update ref: refs/heads/main is at a1b2 but expected c3d4
Another process changed the ref while Git updated it.
error: bad signature 0x00000000 fatal: index file corrupt
The staging area file `.git/index` is damaged.
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.
Two steps away (36)
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.
Azure AD (Entra ID): AADSTS700016 Application not found in the directory
The client ID in your sign-in request doesn’t exist in the tenant you’re authenticating against.
HTTP 401 Unauthorized
The request has no valid authentication credentials — you need to log in or send a valid token.
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: cannot pull with rebase: You have unstaged changes. Please commit or stash them.
A rebase (or pull --rebase) needs a clean working tree.
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.
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.
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.
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: The following untracked working tree files would be overwritten by checkout/merge
Untracked local files have the same paths as files coming from the other branch.
error: cannot lock ref 'refs/remotes/origin/x': is at … but expected … / unable to update local ref
Git couldn’t update a reference — stale remote-tracking refs, case-only branch name clashes, or a leftover lock file.
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: pathspec 'x' did not match any file(s) known to git
Git couldn’t find the file or branch name you referenced.
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.
MySQL ERROR 126 (HY000): Incorrect key file for table; try to repair it
MySQL can’t use a table’s index file — usually a full tmp disk during a query, or MyISAM corruption.
sqlite3.DatabaseError: database disk image is malformed
The SQLite file is corrupted.
androidx.datastore.core.CorruptionException: Unable to parse preferences proto
The DataStore file on disk can't be read.
HTTP 503 Service Unavailable
The server is temporarily unable to handle the request — overloaded, in maintenance, or has no healthy backends.
WordPress: Briefly unavailable for scheduled maintenance. Check back in a minute.
An update was interrupted and WordPress left its `.maintenance` file behind, so the site stays in maintenance mode.
Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping.
Git is running garbage collection after a command.
user is not in the sudoers file. This incident will be reported.
Your account isn’t allowed to use sudo.
sudo: unable to resolve host <hostname>: Name or service not known
The machine’s hostname isn’t in /etc/hosts (or DNS), so sudo prints this warning — usually after changing the hostname.
remote: Branch permissions: You are not allowed to push to branch main
Bitbucket branch restrictions reject your direct push.
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.
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.
remote: error: GH001: Large files detected. File x is 120 MB; this exceeds GitHub's file size limit of 100.00 MB
GitHub rejected the push because a file over 100 MB is in your commits — even if you deleted it later.
remote: error: GH006: Protected branch update failed / pre-receive hook declined
The server rejected your push because of branch protection rules or a server-side hook.
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.
error: Could not read 4b825dc642cb6eb9a060e54bf8d69288fbee4904 / bad object after git gc
A dropped commit was removed because it was unreachable and expired.
GitHub Actions: fatal: couldn't find remote ref refs/heads/feature — The process '/usr/bin/git' failed with exit code 1 (actions/checkout)
`actions/checkout` could not fetch the branch, tag or SHA it was asked for — it was deleted, never pushed, or is not reachable wi…
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.