Teach git-remote to update existing remotes by fetching from them
This allows users to use the command "git remote update" to update all remotes that are being tracked in the repository. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
0bce7a52f2
commit
1e592d65b5
@ -13,6 +13,7 @@ SYNOPSIS
|
||||
'git-remote' add <name> <url>
|
||||
'git-remote' show <name>
|
||||
'git-remote' prune <name>
|
||||
'git-remote' update
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
@ -40,7 +41,14 @@ Gives some information about the remote <name>.
|
||||
|
||||
Deletes all stale tracking branches under <name>.
|
||||
These stale branches have already been removed from the remote repository
|
||||
referenced by <name>, but are still locally available in "remotes/<name>".
|
||||
referenced by <name>, but are still locally available in
|
||||
"remotes/<name>".
|
||||
|
||||
'update'::
|
||||
|
||||
Fetch updates for the remotes in the repository. By default all remotes
|
||||
are updated, but this can be configured via the configuration parameter
|
||||
'remote.fetch'. (See gitlink:git-config[1]).
|
||||
|
||||
|
||||
DISCUSSION
|
||||
|
Reference in New Issue
Block a user