diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-09-06 19:25:23 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-06 13:23:22 -0700 |
commit | e17dba8fe15028425acd6a4ebebf1b8e9377d3c6 (patch) | |
tree | 77baffcf3748619adc2c02f68292103e4acc9165 /Documentation | |
parent | 871e293c9acbeaacce59dcd98fab6028f552f5be (diff) | |
download | git-e17dba8fe15028425acd6a4ebebf1b8e9377d3c6.tar.gz git-e17dba8fe15028425acd6a4ebebf1b8e9377d3c6.tar.xz |
remote: prefer subcommand name 'remove' to 'rm'
All remote subcommands are spelled out words except 'rm'. 'rm', being a
popular UNIX command name, may mislead users that there are also 'ls' or
'mv'. Use 'remove' to fit with the rest of subcommands.
'rm' is still supported and used in the test suite. It's just not
widely advertised.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-remote.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt index a308f4c79..e8c396b5f 100644 --- a/Documentation/git-remote.txt +++ b/Documentation/git-remote.txt @@ -12,7 +12,7 @@ SYNOPSIS 'git remote' [-v | --verbose] 'git remote add' [-t <branch>] [-m <master>] [-f] [--tags|--no-tags] [--mirror=<fetch|push>] <name> <url> 'git remote rename' <old> <new> -'git remote rm' <name> +'git remote remove' <name> 'git remote set-head' <name> (-a | -d | <branch>) 'git remote set-branches' [--add] <name> <branch>... 'git remote set-url' [--push] <name> <newurl> [<oldurl>] @@ -85,6 +85,7 @@ In case <old> and <new> are the same, and <old> is a file under `$GIT_DIR/remotes` or `$GIT_DIR/branches`, the remote is converted to the configuration file format. +'remove':: 'rm':: Remove the remote named <name>. All remote-tracking branches and |