Skip to content

Commit 86f0b37

Browse files
pcloudsgitster
authored andcommitted
remote.txt: update documentation for 'update' command
Commit b344e16 (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a42a58d commit 86f0b37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-remote.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ actually prune them.
182182

183183
'update'::
184184

185-
Fetch updates for a named set of remotes in the repository as defined by
186-
remotes.<group>. If a named group is not specified on the command line,
185+
Fetch updates for remotes or remote groups in the repository as defined by
186+
remotes.<group>. If no group or remote is not specified on the command line,
187187
the configuration parameter remotes.default will be used; if
188188
remotes.default is not defined, all remotes which do not have the
189189
configuration parameter remote.<name>.skipDefaultUpdate set to true will

0 commit comments

Comments
 (0)