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

Renaming a remote is 'rename', but removing is 'rm'

From
TCTomas Carnecky <tomas.carnecky@gmail.com>
Date
Sep 5, 2012, 07:59 UTC
Message-ID
<1346831961-ner-2892@calvin>

A fella on IRC was confused by $subject. And it did bother me sometimes as well. If you don't use `git remote` often, it is confusing that the commands are named inconsistently.

If I know that there is `git remote rm` then I kindof expect `git remote mv` to exist. Because I am used to rm/mv and git rm/git mv as the standard unix commands for renaming and removing something. On the other hand, if I know that there is `git remote rename`, with the verb fully written out, I expect `git remote delete/remove` to exist (or something similar, with the verb fully written out).

Would there be any desire to make the subcommands more consistent in that regard?

tom
Next: Nguyen Thai Ngoc Duy
Message 1 of 5 in “Renaming a remote is 'rename', but removing is 'rm'”
  1. Tomas CarneckySep 5, 2012
  2. Nguyen Thai Ngoc DuySep 5, 2012
  3. Matthieu MoySep 5, 2012
  4. Junio C HamanoSep 6, 2012
  5. remote: prefer subcommand name 'remove' to 'rm'Nguyễn Thái Ngọc Duy, Sep 6, 2012

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.