summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2013-12-08 06:56:58 +0100
committerJunio C Hamano <gitster@pobox.com>2013-12-09 22:24:33 +0100
commit379484b55155d65d9e721b48aca29f6f3d24d95e (patch)
treeb23319022ff61f98e559a6db5e281b2af604a147
parentt: trivial whitespace cleanups (diff)
downloadgit-379484b55155d65d9e721b48aca29f6f3d24d95e.tar.xz
git-379484b55155d65d9e721b48aca29f6f3d24d95e.zip
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>
-rw-r--r--Documentation/git-fetch.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-fetch.txt b/Documentation/git-fetch.txt
index e08a028946..a7b245d946 100644
--- a/Documentation/git-fetch.txt
+++ b/Documentation/git-fetch.txt
@@ -37,6 +37,9 @@ or from several repositories at once if <group> is given and
there is a remotes.<group> entry in the configuration file.
(See linkgit:git-config[1]).
+When no remote is specified, by default the `origin` remote will be used,
+unless there's an upstream branch configured for the current branch.
+
OPTIONS
-------
include::fetch-options.txt[]