Error map

stash@{0} is not a valid reference fatal: log for 'stash' only has 1 entries / stash@{3} is not a valid reference

Git · layer 7, Build & delivery

Open the full error page →

Centre: this error. First ring: errors it is linked with (9). 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.

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} i…not a valid object name — fatal: Not a valid object name: 'main'. (Git)not a valid object …git stash pop: CONFLICT, stash entry is kept — The stash entry is kept in case you need it again. (Git)git stash pop: CONF…No local changes to save — No local changes to save (Git)No local changes to…Lost commits after git reset --hard (recover with reflog) — HEAD is now at a1b2c3d Old commit (Git)Lost commits after …Commit unreachable after gc (reflog expired) — error: Could not read 4b825dc642cb6eb9a060e54bf8d69288fbee4904 / bad object after git gc (Git)Commit unreachable …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'…fatal: reference repository is not a local repository — fatal: reference repository '/mirror/repo.git' is not a local repository. (Git)fatal: reference re…error: cannot update the ref 'HEAD': unable to append to logs — error: cannot update the ref 'HEAD': unable to append to '.git/logs/HEAD': Permission denied (Git)error: cannot updat…Untracked files lost after git stash -u / clean — (behavior) new files disappeared after stash or clean (Git)Untracked files los…non-fast-forward — Git: ! [rejected] … (fetch first) — error: failed to push some refs (Git)non-fast-forwarddetached HEAD — You are in 'detached HEAD' state. (Git)detached HEADpathspec did not match — error: pathspec 'x' did not match any file(s) known to git (Git)pathspec did not ma…CONFLICT — Git: CONFLICT (content): Merge conflict in file — Automatic merge failed (Git)CONFLICTchanges overwritten — error: Your local changes to the following files would be overwritten by merge (Git)changes overwrittenCONFLICT 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…nothing to commit, working tree clean — On branch main nothing to commit, working tree clean (Git)nothing to commit, …git clean: Would remove / remove untracked files — Would remove build/ Would remove .env.local (Git)git clean: Would re…Your branch and 'origin/main' have diverged — Your branch and 'origin/main' have diverged, and have 2 and 3 different commits each, respectively. (Git)Your branch and 'or…reset — Connection reset during the TLS handshake (SNI filtering or DPI blocking the ClientHello) (SSL / TLS)reseterror: 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: 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…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…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: bad index file sha1 signature / index file corrupt — error: bad signature 0x00000000 fatal: index file corrupt (Git)error: bad index fi…fatal: multiple stage entries for merged file — error: Entry 'x' is a directory in one branch and a file in another (Git)fatal: multiple sta…fatal: cannot do a partial commit during a merge — fatal: cannot do a partial commit during a merge. (Git)fatal: cannot do a …not a git repository — fatal: not a git repository (or any of the parent directories): .git (Git)not a git repositoryfatal: 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 …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…0x80070005 — Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied (Windows)0x80070005UNPROTECTED PRIVATE KEY FILE — WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open (Linux)UNPROTECTED PRIVATE…Resource not accessible by integration — GitHub Actions: Error: Resource not accessible by integration (403) (CI/CD)Resource not access…error: Could not read ... fatal: pack has bad object / index-pack failed — fatal: pack has bad object at offset 12345: inflate returned -3 (Git)error: Could not re…error: could not write index (stash) — error: could not write index / Cannot save the current index state (Git)error: could not wr…git reset --hard destroyed uncommitted changes — HEAD is now at a1b2c3d (uncommitted changes lost) (Git)git reset --hard de…

Directly related (9)

Two steps away (27)

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.

detached HEADGit

You are in 'detached HEAD' state.

HEAD points at a commit instead of a branch, so new commits won’t belong to any branch.

pathspec did not matchGit

error: pathspec 'x' did not match any file(s) known to git

Git couldn’t find the file or branch name you referenced.

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.

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.

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.

nothing to commit, working tree cleanGit

On branch main nothing to commit, working tree clean

Git sees no changes to commit.

git clean: Would remove / remove untracked filesGit

Would remove build/ Would remove .env.local

`git clean -n` lists what clean would delete.

Your branch and 'origin/main' have divergedGit

Your branch and 'origin/main' have diverged, and have 2 and 3 different commits each, respectively.

Both your local branch and the remote have new commits.

resetSSL / TLS

Connection reset during the TLS handshake (SNI filtering or DPI blocking the ClientHello)

The TCP connection works, but it's reset right after the ClientHello, which points to a firewall filtering by SNI.

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

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.

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: bad index file sha1 signature / index file corruptGit

error: bad signature 0x00000000 fatal: index file corrupt

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

fatal: multiple stage entries for merged fileGit

error: Entry 'x' is a directory in one branch and a file in another

The index has conflicting entries for one path.

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.

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.

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.

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.

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…

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

Resource not accessible by integrationCI/CD

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

error: Could not read ... fatal: pack has bad object / index-pack failedGit

fatal: pack has bad object at offset 12345: inflate returned -3

A packfile is damaged.

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.

git reset --hard destroyed uncommitted changesGit

HEAD is now at a1b2c3d (uncommitted changes lost)

`--hard` discards uncommitted edits.