Skip to content

Commit 82f4b1e

Browse files
authored
docs: mention wrong URLs as a cause of git authentication errors
1 parent 611b7c4 commit 82f4b1e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/doc/src/appendix/git-authentication.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ handle fetching remote repositories instead of using the built-in support.
1010
This can be enabled with the `CARGO_NET_GIT_FETCH_WITH_CLI=true` environment
1111
variable.
1212

13+
> **Note:** Cargo does not require authentication for public git dependencies
14+
> so if you see an authentication failure in that context, ensure that the
15+
> URL is correct.
16+
1317
## HTTPS authentication
1418

1519
HTTPS authentication requires the [`credential.helper`] mechanism. There are

0 commit comments

Comments
 (0)