• B
    Teach the --all option to 'git fetch' · 9c4a036b
    Björn Gustavsson 提交于
    'git remote' is meant for managing remotes and 'git fetch' is meant
    for actually fetching data from remote repositories. Therefore, it is
    not logical that you must use 'git remote update' to fetch from
    more than one repository at once.
    
    Add the --all option to 'git fetch', to tell it to attempt to fetch
    from all remotes. Also, if --all is not given, the <repository>
    argument is allowed to be the name of a group, to allow fetching
    from all repositories in the group.
    
    Other options except -v and -q are silently ignored.
    Signed-off-by: NBjörn Gustavsson <bgustavsson@gmail.com>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    9c4a036b
t5514-fetch-multiple.sh 1.4 KB