summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Duy Nguyen <pclouds@gmail.com>2018-05-30 17:37:01 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-06-01 10:46:03 +0900
commit86f0b3727ced5db72ebbbd93f930671bfb9ab7be (patch)
treea5f4c7136741bdabac4d44e1f6ec59af4afd7355
parentGit 2.16.4 (diff)
downloadtgif-86f0b3727ced5db72ebbbd93f930671bfb9ab7be.tar.xz
remote.txt: update documentation for 'update' command
Commit b344e1614b (git remote update: Fallback to remote if group does not exist - 2009-04-06) lets "git remote update" accept individual remotes as well. Previously this command only accepted remote groups. The commit updates the command syntax but not the actual document of this subcommand. Update it. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-remote.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt
index 577b969c1b..2fcc026d21 100644
--- a/Documentation/git-remote.txt
+++ b/Documentation/git-remote.txt
@@ -182,8 +182,8 @@ actually prune them.
'update'::
-Fetch updates for a named set of remotes in the repository as defined by
-remotes.<group>. If a named group is not specified on the command line,
+Fetch updates for remotes or remote groups in the repository as defined by
+remotes.<group>. If no group or remote is not specified on the command line,
the configuration parameter remotes.default will be used; if
remotes.default is not defined, all remotes which do not have the
configuration parameter remote.<name>.skipDefaultUpdate set to true will