From 82f4b1e127b6118c307044e6c9dc5db9eca24b42 Mon Sep 17 00:00:00 2001 From: Daniel Seiler Date: Wed, 12 Mar 2025 22:32:05 +0100 Subject: [PATCH] docs: mention wrong URLs as a cause of git authentication errors --- src/doc/src/appendix/git-authentication.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/doc/src/appendix/git-authentication.md b/src/doc/src/appendix/git-authentication.md index 8b2db5cb112..00f81c8f57d 100644 --- a/src/doc/src/appendix/git-authentication.md +++ b/src/doc/src/appendix/git-authentication.md @@ -10,6 +10,10 @@ handle fetching remote repositories instead of using the built-in support. This can be enabled with the `CARGO_NET_GIT_FETCH_WITH_CLI=true` environment variable. +> **Note:** Cargo does not require authentication for public git dependencies +> so if you see an authentication failure in that context, ensure that the +> URL is correct. + ## HTTPS authentication HTTPS authentication requires the [`credential.helper`] mechanism. There are