Open
Description
When trying to install from a git repository, I get the following unhelpful error:
$ cargo install --git git+https://github.com/astral-sh/uv uv
Updating git repository `git+https://github.com/astral-sh/uv`
error: failed to fetch into: .cargo/git/db/uv-c9e40703e19509a8
Caused by:
invalid argument: 'port'; class=Invalid (3)
The problem seems to be caused by specifying git+https://github.com/astral-sh/uv
instead of https://github.com/astral-sh/uv
(note the missing git+
in the second URL).
The error message is unhelpful.