Skip to content

Commit 379484b

Browse files
Felipe Contrerasgitster
authored andcommitted
fetch: add missing documentation
There's no mention of the 'origin' default, or the fact that the upstream tracking branch remote is used. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 70eabce commit 379484b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Documentation/git-fetch.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ or from several repositories at once if <group> is given and
3737
there is a remotes.<group> entry in the configuration file.
3838
(See linkgit:git-config[1]).
3939

40+
When no remote is specified, by default the `origin` remote will be used,
41+
unless there's an upstream branch configured for the current branch.
42+
4043
OPTIONS
4144
-------
4245
include::fetch-options.txt[]

0 commit comments

Comments
 (0)