Error in the manual
- From
- Egor Ibragimov <juzujka@gmail.com>
- Date
- Dec 23, 2025, 19:28 UTC
- Message-ID
- <CABd08tVFKDoBtdBsPHaE=Zocoj6H8yuhk86Bg+99zB_H7+r2BA@mail.gmail.com>
Hello, there is an error in the manual.
$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' ...
The correct command is
$ git remote add gitverse https://repository.domain/MyName/MyRepository
And the correct help message is
or: git remote set-url add <name> <newurl>
In the manpage the same error too.
$ git -v git version 2.43.0
-- Egor Ibragimov juzujka@gmail.com +7-916-807-5378