Re: Renaming a remote is 'rename', but removing is 'rm'
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Sep 5, 2012, 08:49 UTC
- Message-ID
- <CACsJy8Bi=b1Fuht8q5XcnGE3rFAVojj+MAXvKZAnrqseYnDy+g@mail.gmail.com>
- In-Reply-To
- <1346831961-ner-2892@calvin>
On Wed, Sep 5, 2012 at 2:59 PM, Tomas Carnecky <tomas.carnecky@gmail.com> wrote:
Show 13 quoted lines
> 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?
Looking at the remote command list, "rm" is the only abbreviation. I guess we should add "delete" (or "remove") as an alias for "rm".
-- Duy