Git
Clone, auth, merge, and LFS errors in CI - resolved.
Fix Git failures in CI: clone and fetch errors, authentication and credential problems, shallow-clone issues, merge conflicts, and Git LFS failures. Clear, practical fixes.
Clone & fetch
Shallow clones, depth, and submodules.
"destination path already exists"Fix Git "fatal: destination path '...' already exists and is not an empty directory" in CI - a leftover
"detected dubious ownership"Fix Git "fatal: detected dubious ownership in repository at ..." in CI - the checkout is owned by a different
safe.directory exceptionConfigure Git safe.directory in CI for "fatal: detected dubious ownership in repository" - add the workspace
"couldn't find remote ref"Fix Git "fatal: couldn't find remote ref" in CI - checking out a branch, tag, or SHA that does not exist on
"fatal: early EOF"Fix Git "fatal: early EOF" and "fatal: index-pack failed" in CI - the pack transfer ended before all objects
"filtering not recognized by server"Fix Git partial-clone errors in CI - "fatal: --filter ... filtering not recognized by server" or missing
"RPC failed; curl 18"Fix Git "RPC failed; curl 18 transfer closed with outstanding read data" / "early EOF" on big clones in CI -
"RPC failed; HTTP 400"Fix Git "RPC failed; HTTP 400 curl 22 The requested URL returned error: 400" on a large push in CI - the
"redirecting to https"Fix Git "warning: redirecting to https://.../" in CI - an http:// or trailing-slash-less remote URL the host
"local changes would be overwritten"Fix Git "error: Your local changes to the following files would be overwritten by checkout/merge" in CI - a
Shallow clone, no historyFix shallow-clone failures in CI where git log, git describe, or a diff against the base branch breaks
Authentication
Tokens, SSH keys, and credentials.
Explore other topics
GitHub ActionsWorkflow, runner, and YAML errors - diagnosed and fixed.
Node.js & npmnpm, yarn, and pnpm failures in CI - solved.
DockerBuild, run, compose, and registry errors - explained.
Pythonpip, poetry, venv, and pytest failures - fixed.
Java & JVMMaven, Gradle, and JVM failures in CI - resolved.
GoGo build, module, and test failures - diagnosed.