Error map
fatal: No submodule mapping found in .gitmodules for path fatal: No submodule mapping found in .gitmodules for path 'lib'
Git · layer 7, Build & delivery
Centre: this error. First ring: errors it is linked with (11). 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 (11)
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: No url found for submodule path 'x' in .gitmodules
A submodule entry exists in the index but its URL is missing from .gitmodules.
fatal: prefix 'vendor/lib' already exists.
`git subtree add` refuses an existing folder.
fatal: could not read Username for 'https://gitlab.example.com': No such device or address
GitLab CI can't fetch the repo or a dependency inside the job.
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.
fatal: clone of 'git@github.com:org/lib.git' into submodule path '/repo/lib' failed Failed to clone 'lib'. Retry scheduled
Git couldn't clone a submodule on update.
modified: lib (modified content, untracked content)
The superproject sees changes inside a submodule.
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.
Patch failed at 0001 Fix bug. hint: Use 'git am --show-current-patch' to see the failed patch
`git am` stopped on a patch that doesn't apply.
fatal: Fetched in submodule path 'lib', but it did not contain a1b2c3d. Direct fetching of that commit failed.
The parent repo points to a submodule commit that was never pushed.
fatal: transport 'file' not allowed fatal: clone of '/path/lib' into submodule path failed
Git blocks local file-path submodules since a security fix.
Two steps away (27)
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.
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.
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.
fatal: unable to access 'https://github.com/…': Could not resolve host: github.com
DNS lookup for the Git host failed from this machine.
error: cannot pull with rebase: You have unstaged changes. Please commit or stash them.
A rebase (or pull --rebase) needs a clean working tree.
remote: TF401027: You need the GenericContribute permission to perform this action.
Azure DevOps denies the push for lack of permission.
remote: Permission to owner/repo.git denied to github-actions[bot]. fatal: unable to access … The requested URL returned error: 403
A GitHub Actions workflow tried to push but the GITHUB_TOKEN doesn’t have write permission.
(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.
fatal: No names found, cannot describe anything.
`git describe` can't find a tag in the available history.
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 start" / We are not bisecting.
A bisect command was used before starting or after finishing.
(behavior) file still shows in git status after adding to .gitignore
Git keeps tracking files that were committed before you ignored them.
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.
fatal: destination path 'repo' already exists and is not an empty directory.
The target folder exists and has files.
fatal: --unshallow on a complete repository does not make sense
You asked to deepen a repo that is already complete.
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: pathspec 'link/file.txt' is beyond a symbolic link
You tried to add a path through a symlink.
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.
! [rejected] v1.0 -> v1.0 (would clobber existing tag)
A fetched tag would replace one you already have with a different target.
husky - pre-commit hook exited with code 1 (error)
A pre-commit hook returned a failure so the commit was stopped.
remote: Branch permissions: You are not allowed to push to branch main
Bitbucket branch restrictions reject your direct push.
! [rejected] main -> main (non-fast-forward) after amend
Amending a pushed commit rewrites history, so the remote refuses the push.
remote: TF402455: Pushes to this branch are not permitted; you must use a pull request to update this branch.
Branch policies on Azure Repos block direct pushes.
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! (ssh host key changed)
The server’s SSH host key differs from the one saved in ~/.ssh/known_hosts — usually because the server was rebuilt or the IP was…
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY
apt can’t verify a repository’s signature because the repo’s signing key isn’t installed (or has expired/rotated).
SELinux is preventing ... / avc: denied { read } for pid=... (permission denied despite correct permissions)
SELinux blocked the access — file permissions look fine, but the file’s security context or a boolean doesn’t allow the service t…
Map another error
Popular: ERR_HTTP2_PROTOCOL_ERROR5004004031064ORA-00933Critical errorTypeError