Error map

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

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: p…Authentication failed — fatal: Authentication failed for 'https://github.com/x/y.git/' (Git)Authentication fail…unknown revision HEAD — fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. (Git)unknown revision HE…! [rejected] tag -> tag (would clobber existing tag) — ! [rejected] v1.0 -> v1.0 (would clobber existing tag) (Git)! [rejected] tag ->…git subtree add: prefix already exists — fatal: prefix 'vendor/lib' already exists. (Git)git subtree add: pr…GCM: Missing or invalid credentials / Failed to launch browser — fatal: Authentication failed (git-credential-manager: no display for OAuth browser) (Git)GCM: Missing or inv…Filenames shown as \303\251 octal (core.quotepath) — "caf\303\251.txt" shown instead of café.txt (Git)Filenames shown as …Locking support detected on remote: consider git lfs locks — Locking support detected on remote "origin". Consider enabling it with: $ git config lfs.https://host/info/lfs.locksverify true (Git)Locking support det…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…You need to start by git bisect start — You need to start by "git bisect start" / We are not bisecting. (Git)You need to start b…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…publickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeyAADSTS700016 — Azure AD (Entra ID): AADSTS700016 Application not found in the directory (Azure)AADSTS700016401 — HTTP 401 Unauthorized (HTTP)401detached HEAD — You are in 'detached HEAD' state. (Git)detached HEADuntracked files overwritten — error: The following untracked working tree files would be overwritten by checkout/merge (Git)untracked files ove…not possible to fast-forward — fatal: Not possible to fast-forward, aborting. (Git)not possible to fas…fatal: tag already exists — fatal: tag 'v1.0.0' already exists (Git)fatal: tag already …! [rejected] v1.0 -> v1.0 (already exists) — ! [rejected] v1.0.0 -> v1.0.0 (already exists) error: failed to push some refs (Git)! [rejected] v1.0 -…warning: refname 'v1' is ambiguous — warning: refname 'release' is ambiguous. Git normally never creates a ref that ends with 40 hex characters (Git)warning: refname 'v…Azure DevOps: TF401019 / VS403 push rejected — remote: TF401027: You need the GenericContribute permission to perform this action. (Git)Azure DevOps: TF401…fatal: No submodule mapping found in .gitmodules for path — fatal: No submodule mapping found in .gitmodules for path 'lib' (Git)fatal: No submodule…warning: adding embedded git repository — warning: adding embedded git repository: vendor/lib hint: You've added another git repository inside your current repository. (Git)warning: adding emb…git: 'credential-manager' is not a git command — git: 'credential-manager-core' is not a git command. See 'git --help'. (Git)git: 'credential-ma…Git keeps using an old password (macOS Keychain / Windows Credential Manager) — remote: Invalid username or password (cached credentials) (Git)Git keeps using an …fatal: could not read Username: terminal prompts disabled — fatal: could not read Username for 'https://github.com': terminal prompts disabled (Git)fatal: could not re…Git doesn't detect file rename that only changes case — (behavior) git status shows nothing after renaming File.js to file.js (Git)Git doesn't detect …error: invalid path 'aux.c' / unable to create file on Windows — error: invalid path 'docs/aux.md' fatal: unable to checkout working tree (Git)error: invalid path…0x80070020 — 0x80070020: The process cannot access the file because it is being used by another process (Windows)0x80070020This repository is configured for Git LFS but 'git-lfs' was not found — This repository is configured for Git LFS but 'git-lfs' was not found on your path. (Git)This repository is …LFS file contains pointer text (version https://git-lfs.github.com/spec/v1) — version https://git-lfs.github.com/spec/v1 oid sha256:abc size 123456 (Git)LFS file contains p…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 …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: 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…CONFLICT — Git: CONFLICT (content): Merge conflict in file — Automatic merge failed (Git)CONFLICTWindows 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…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…fatal: No rebase in progress? — fatal: No rebase in progress? (Git)fatal: No rebase in…git bisect: some good revs are not ancestors of the bad rev — Some good revs are not ancestors of the bad rev. git bisect cannot work properly in this case. (Git)git bisect: some go…error: patch failed / patch does not apply — error: patch failed: src/app.js:12 error: src/app.js: patch does not apply (Git)error: patch failed…pathspec did not match — error: pathspec 'x' did not match any file(s) known to git (Git)pathspec did not ma…Submodule shows modified content / dirty submodule — modified: lib (modified content, untracked content) (Git)Submodule shows mod…pre-commit hook failed / husky - pre-commit hook exited with code 1 — husky - pre-commit hook exited with code 1 (error) (Git)pre-commit hook fai…GH001 large files — remote: error: GH001: Large files detected. File x is 120 MB; this exceeds GitHub's file size limit of 100.00 MB (Git)GH001 large filesnothing 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…

Directly related (12)

Authentication failedGit

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.

unknown revision HEADGit

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.

! [rejected] tag -> tag (would clobber existing tag)Git

! [rejected] v1.0 -> v1.0 (would clobber existing tag)

A fetched tag would replace one you already have with a different target.

git subtree add: prefix already existsGit

fatal: prefix 'vendor/lib' already exists.

`git subtree add` refuses an existing folder.

GCM: Missing or invalid credentials / Failed to launch browserGit

fatal: Authentication failed (git-credential-manager: no display for OAuth browser)

Git Credential Manager can't open a browser for sign-in.

Filenames shown as \303\251 octal (core.quotepath)Git

"caf\303\251.txt" shown instead of café.txt

Git escapes non-ASCII file names in output.

Locking support detected on remote: consider git lfs locksGit

Locking support detected on remote "origin". Consider enabling it with: $ git config lfs.https://host/info/lfs.locksverify true

An informational LFS message about file locking.

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.

You need to start by git bisect startGit

You need to start by "git bisect start" / We are not bisecting.

A bisect command was used before starting or after finishing.

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.

Two steps away (35)

publickeyGit

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.

AADSTS700016Azure

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.

401HTTP

HTTP 401 Unauthorized

The request has no valid authentication credentials — you need to log in or send a valid token.

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.

untracked files overwrittenGit

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.

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.

fatal: tag already existsGit

fatal: tag 'v1.0.0' already exists

A tag with that name exists already.

! [rejected] v1.0 -> v1.0 (already exists)Git

! [rejected] v1.0.0 -> v1.0.0 (already exists) error: failed to push some refs

The remote already has that tag pointing elsewhere.

warning: refname 'v1' is ambiguousGit

warning: refname 'release' is ambiguous. Git normally never creates a ref that ends with 40 hex characters

A branch and a tag share a name.

Azure DevOps: TF401019 / VS403 push rejectedGit

remote: TF401027: You need the GenericContribute permission to perform this action.

Azure DevOps denies the push for lack of permission.

fatal: No submodule mapping found in .gitmodules for pathGit

fatal: No submodule mapping found in .gitmodules for path 'lib'

The repo tracks a submodule commit but .gitmodules lacks its entry.

warning: adding embedded git repositoryGit

warning: adding embedded git repository: vendor/lib hint: You've added another git repository inside your current repository.

You added a folder that has its own .git.

git: 'credential-manager' is not a git commandGit

git: 'credential-manager-core' is not a git command. See 'git --help'.

The configured credential helper isn't installed.

Git keeps using an old password (macOS Keychain / Windows Credential Manager)Git

remote: Invalid username or password (cached credentials)

A stored credential is outdated but keeps being sent.

fatal: could not read Username: terminal prompts disabledGit

fatal: could not read Username for 'https://github.com': terminal prompts disabled

Git needed credentials but can't ask because there is no terminal.

Git doesn't detect file rename that only changes caseGit

(behavior) git status shows nothing after renaming File.js to file.js

On case-insensitive file systems Git doesn't notice a case-only rename.

error: invalid path 'aux.c' / unable to create file on WindowsGit

error: invalid path 'docs/aux.md' fatal: unable to checkout working tree

The repo has file names Windows can't create.

0x80070020Windows

0x80070020: The process cannot access the file because it is being used by another process

Another program has the file open (locked), so Windows can’t modify, delete or replace it.

This repository is configured for Git LFS but 'git-lfs' was not foundGit

This repository is configured for Git LFS but 'git-lfs' was not found on your path.

The repo uses LFS hooks but the git-lfs binary isn't installed.

LFS file contains pointer text (version https://git-lfs.github.com/spec/v1)Git

version https://git-lfs.github.com/spec/v1 oid sha256:abc size 123456

A file shows LFS pointer text instead of the real content.

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

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.

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.

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.

fatal: No rebase in progress?Git

fatal: No rebase in progress?

You ran `git rebase --continue` or `--abort` when no rebase is active.

git bisect: some good revs are not ancestors of the bad revGit

Some good revs are not ancestors of the bad rev. git bisect cannot work properly in this case.

The commit you marked good isn't in the history of the bad one.

error: patch failed / patch does not applyGit

error: patch failed: src/app.js:12 error: src/app.js: patch does not apply

A patch can't be applied cleanly to the current files.

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.

Submodule shows modified content / dirty submoduleGit

modified: lib (modified content, untracked content)

The superproject sees changes inside a submodule.

pre-commit hook failed / husky - pre-commit hook exited with code 1Git

husky - pre-commit hook exited with code 1 (error)

A pre-commit hook returned a failure so the commit was stopped.

GH001 large filesGit

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.

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.