git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Error in the manual

From
ACAndrew Chitester <andchi@fastmail.com>
Date
Dec 23, 2025, 21:00 UTC
Message-ID
<87sed09am1.fsf@fastmail.com>
In-Reply-To
<CABd08tVFKDoBtdBsPHaE=Zocoj6H8yuhk86Bg+99zB_H7+r2BA@mail.gmail.com>

I'm not seeing how this is an error. The manual page for git-remote seems to address what `set-url` does and what `add` does.

> Hello, there is an error in the manual.
Hello.
Show 14 quoted lines
> $git remote --help
> or im my case I enter incorrect command
> $git remote list
>
> The help message:
>
> usage: git remote [-v | --verbose]
> ...
>   or: git remote set-url --add <name> <newurl>
>
> If to type command according to help message, the error appears:
>
> $ git remote --add gitverse https://repository.domain/MyName/MyRepository
> error: unknown option `add' ...
You didn't use the command offered in the help message:
$ git remote set-url --add

Use it to add a url to a remote. As far as I can tell everything is working and documented correctly here.

Previous: Egor Ibragimov
Message 2 of 2 in “Error in the manual”
  1. Egor IbragimovDec 23, 2025
  2. Andrew ChitesterDec 23, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.