All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Chitester <andchi@fastmail.com>
To: juzujka@gmail.com
Cc: git@vger.kernel.org
Subject: Re: Error in the manual
Date: Tue, 23 Dec 2025 16:00:54 -0500	[thread overview]
Message-ID: <87sed09am1.fsf@fastmail.com> (raw)
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.

> $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.

      reply	other threads:[~2025-12-23 21:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-23 19:28 Error in the manual Egor Ibragimov
2025-12-23 21:00 ` Andrew Chitester [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sed09am1.fsf@fastmail.com \
    --to=andchi@fastmail.com \
    --cc=git@vger.kernel.org \
    --cc=juzujka@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.