Error map

fatal: clone of 'url' into submodule path failed fatal: clone of 'git@github.com:org/lib.git' into submodule path '/repo/lib' failed Failed to clone 'lib'. Retry scheduled

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.

fatal: clone of 'url' into submodule path failed — fatal: clone of 'git@github.com:org/lib.git' into submodule path '/repo/lib' failed Failed to clone 'lib'. Retry scheduled (Git)fatal: clon…publickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeysubmodule url — fatal: No url found for submodule path 'x' in .gitmodules (Git)submodule urlGitLab CI: fatal: couldn't find remote ref / Cleaning repository — fatal: could not read Username for 'https://gitlab.example.com': No such device or address (Git)GitLab CI: fatal: c…channel 2: open failed: administratively prohibited: open failed — channel 2: open failed: administratively prohibited: open failed (Linux)channel 2: open fai…warning: You appear to have cloned an empty repository — warning: You appear to have cloned an empty repository. (Git)warning: You appear…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 …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…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 …fatal: --unshallow on a complete repository does not make sense — fatal: --unshallow on a complete repository does not make sense (Git)fatal: --unshallow …fatal: No names found, cannot describe anything / No tags can describe — fatal: No names found, cannot describe anything. (Git)fatal: No names fou…CI container: dubious ownership in repository — fatal: detected dubious ownership in repository at '/github/workspace' (Git)CI container: dubio…non-fast-forward — Git: ! [rejected] … (fetch first) — error: failed to push some refs (Git)non-fast-forwardnot a git repository — fatal: not a git repository (or any of the parent directories): .git (Git)not a git repositoryEACCES — Linux: Permission denied (Linux)EACCESAuthentication failed — fatal: Authentication failed for 'https://github.com/x/y.git/' (Git)Authentication fail…cannot lock ref — error: cannot lock ref 'refs/remotes/origin/x': is at … but expected … / unable to update local ref (Git)cannot lock refCould not resolve host — fatal: unable to access 'https://github.com/…': Could not resolve host: github.com (Git)Could not resolve h…github-actions[bot] 403 — remote: Permission to owner/repo.git denied to github-actions[bot]. fatal: unable to access … The requested URL returned error: 403 (Git)github-actions[bot]…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…gh: HTTP 401: Bad credentials — gh: Bad credentials (HTTP 401) / error validating token: HTTP 401 (Git)gh: HTTP 401: Bad c…Host key verification failed — Host key verification failed. fatal: Could not read from remote repository. (Git)Host key verificati…ssh port 22 Connection refused — ssh: connect to host x port 22: Connection refused (Linux)ssh port 22 Connect…REMOTE HOST IDENTIFICATION HAS CHANGED — WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! (ssh host key changed) (Linux)REMOTE HOST IDENTIF…couldn't find remote ref — fatal: couldn't find remote ref main (Git)couldn't find remot…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…Rebase replays too many commits / unrelated histories — fatal: refusing to merge unrelated histories (Git)Rebase replays too …command not found — bash: command not found (Linux)command not foundremote origin exists — error: remote origin already exists. (Git)remote origin existsfatal: 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…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…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…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…unknown revision HEAD — fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. (Git)unknown revision HE…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…git subtree add: prefix already exists — fatal: prefix 'vendor/lib' already exists. (Git)git subtree add: pr…Filename too long — error: unable to create file x: Filename too long (Windows) (Git)Filename too longshallow update not allowed — ! [remote rejected] main -> main (shallow update not allowed) (Git)shallow update not …Read-only file system (macOS system volume) — macOS: mkdir: /data: Read-only file system / touch: /usr/bin/x: Read-only file system (macOS)Read-only file syst…early EOF — fatal: early EOF — fatal: index-pack failed (Git)early EOFgit 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…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…xcodebuild exited with status 65 (fastlane gym) — [!] Exit status: 65 / ** ARCHIVE FAILED ** (iOS)xcodebuild exited w…GitHub Actions: Xcode version not available on runner — Could not find Xcode version that matches 15.4 (iOS)GitHub Actions: Xco…Unable to find a destination matching the provided destination specifier — xcodebuild: error: Unable to find a destination matching the provided destination specifier: { platform:iOS Simulator, name:iPhone 15 } (iOS)Unable to find a de…Docker Desktop requires privileged access (vmnetd) — macOS: Docker Desktop needs privileged access / com.docker.vmnetd could not be started (macOS)Docker Desktop requ…ca-certificates — Docker container can't make HTTPS calls: x509 certificate signed by unknown authority (image has no ca-certificates) (SSL / TLS)ca-certificatesTraefik — Traefik: Unable to obtain ACME certificate for domains (acme.json permissions, challenge, resolver) (SSL / TLS)Traefik

Directly related (12)

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.

submodule urlGit

fatal: No url found for submodule path 'x' in .gitmodules

A submodule entry exists in the index but its URL is missing from .gitmodules.

GitLab CI: fatal: couldn't find remote ref / Cleaning repositoryGit

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.

channel 2: open failed: administratively prohibited: open failedLinux

channel 2: open failed: administratively prohibited: open failed

The server disallows TCP forwarding.

warning: You appear to have cloned an empty repositoryGit

warning: You appear to have cloned an empty repository.

The remote has no commits yet.

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.

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.

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.

fatal: --unshallow on a complete repository does not make senseGit

fatal: --unshallow on a complete repository does not make sense

You asked to deepen a repo that is already complete.

fatal: No names found, cannot describe anything / No tags can describeGit

fatal: No names found, cannot describe anything.

`git describe` can't find a tag in the available history.

CI container: dubious ownership in repositoryGit

fatal: detected dubious ownership in repository at '/github/workspace'

Git inside a CI container sees the workspace owned by another user.

Two steps away (36)

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.

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.

EACCESLinux

Linux: Permission denied

Your user (or the service user) lacks read/write/execute permission on a file, directory or one of its parents.

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.

cannot lock refGit

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.

Could not resolve hostGit

fatal: unable to access 'https://github.com/…': Could not resolve host: github.com

DNS lookup for the Git host failed from this machine.

github-actions[bot] 403Git

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.

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.

gh: HTTP 401: Bad credentialsGit

gh: Bad credentials (HTTP 401) / error validating token: HTTP 401

The GitHub CLI token is invalid or expired.

Host key verification failedGit

Host key verification failed. fatal: Could not read from remote repository.

SSH doesn’t trust the server’s host key — first connection in a non-interactive environment, or the key changed.

ssh port 22 Connection refusedLinux

ssh: connect to host x port 22: Connection refused

The server answered, but nothing is listening on the SSH port — sshd isn’t running, it uses another port, or a firewall actively…

REMOTE HOST IDENTIFICATION HAS CHANGEDLinux

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…

couldn't find remote refGit

fatal: couldn't find remote ref main

The branch you tried to pull/fetch doesn’t exist on the remote.

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.

Rebase replays too many commits / unrelated historiesGit

fatal: refusing to merge unrelated histories

The two branches have no common ancestor, so Git refuses to merge them.

command not foundLinux

bash: command not found

The shell can’t find an executable with that name in any directory on your PATH.

remote origin existsGit

error: remote origin already exists.

A remote named origin is already configured.

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.

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.

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.

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.

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.

Applying: patch failed. When you have resolved this problem, run git am --continueGit

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.

git subtree add: prefix already existsGit

fatal: prefix 'vendor/lib' already exists.

`git subtree add` refuses an existing folder.

Filename too longGit

error: unable to create file x: Filename too long (Windows)

Windows’ 260-character path limit blocked Git from creating a file.

shallow update not allowedGit

! [remote rejected] main -> main (shallow update not allowed)

You pushed from a shallow clone to a remote that doesn’t accept shallow history.

Read-only file system (macOS system volume)macOS

macOS: mkdir: /data: Read-only file system / touch: /usr/bin/x: Read-only file system

Since Catalina the system volume is read-only and sealed; you can't create directories at `/` or modify system folders.

early EOFGit

fatal: early EOF — fatal: index-pack failed

A clone or fetch was cut off mid-transfer.

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.

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.

xcodebuild exited with status 65 (fastlane gym)iOS

[!] Exit status: 65 / ** ARCHIVE FAILED **

xcodebuild failed during archive; the real error is above.

GitHub Actions: Xcode version not available on runneriOS

Could not find Xcode version that matches 15.4

The selected Xcode isn't installed on the macOS runner image.

Unable to find a destination matching the provided destination specifieriOS

xcodebuild: error: Unable to find a destination matching the provided destination specifier: { platform:iOS Simulator, name:iPhone 15 }

The simulator named in your command doesn't exist.

Docker Desktop requires privileged access (vmnetd)macOS

macOS: Docker Desktop needs privileged access / com.docker.vmnetd could not be started

Docker Desktop couldn't install or start its privileged helper, so it can't set up networking.

ca-certificatesSSL / TLS

Docker container can't make HTTPS calls: x509 certificate signed by unknown authority (image has no ca-certificates)

Minimal or scratch images ship without a CA bundle, so every TLS verification fails inside the container.

TraefikSSL / TLS

Traefik: Unable to obtain ACME certificate for domains (acme.json permissions, challenge, resolver)

Traefik can't issue or renew Let's Encrypt certificates, so it serves its default self-signed certificate.