Error map

error: the following file has local modifications (git rm) error: the following file has local modifications: app.js (use --cached to keep the file, or -f to force removal)

Git · layer 7, Build & delivery

Open the full error page →

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

error: the following file has local modifications (git rm) — error: the following file has local modifications: app.js (use --cached to keep the file, or -f to force removal) (Git)error: the …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…changes overwritten — error: Your local changes to the following files would be overwritten by merge (Git)changes overwrittenfatal: not removing 'dir' recursively without -r — fatal: not removing 'build' recursively without -r (Git)fatal: not removing…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…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…CONFLICT — Git: CONFLICT (content): Merge conflict in file — Automatic merge failed (Git)CONFLICTcannot rebase — error: cannot pull with rebase: You have unstaged changes. Please commit or stash them. (Git)cannot rebaseunfinished merge — fatal: You have not concluded your merge (MERGE_HEAD exists). Please, commit your changes before you merge. (Git)unfinished mergefatal: 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…pathspec did not match — error: pathspec 'x' did not match any file(s) known to git (Git)pathspec did not ma…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…! [rejected] tag -> tag (would clobber existing tag) — ! [rejected] v1.0 -> v1.0 (would clobber existing tag) (Git)! [rejected] tag ->…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 filesAzure DevOps: TF401019 / VS403 push rejected — remote: TF401027: You need the GenericContribute permission to perform this action. (Git)Azure DevOps: TF401…nothing to commit, working tree clean — On branch main nothing to commit, working tree clean (Git)nothing to commit, …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…Submodule shows modified content / dirty submodule — modified: lib (modified content, untracked content) (Git)Submodule shows mod…fatal: No submodule mapping found in .gitmodules for path — fatal: No submodule mapping found in .gitmodules for path 'lib' (Git)fatal: No submodule…

Directly related (7)

Two steps away (21)

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.

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.

cannot rebaseGit

error: cannot pull with rebase: You have unstaged changes. Please commit or stash them.

A rebase (or pull --rebase) needs a clean working tree.

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.

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.

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.

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.

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

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.

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.

nothing to commit, working tree cleanGit

On branch main nothing to commit, working tree clean

Git sees no changes to commit.

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.

Submodule shows modified content / dirty submoduleGit

modified: lib (modified content, untracked content)

The superproject sees changes inside a submodule.

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.