Thread (14 messages) flat view 14 messages, 2 authors, 2016-06-15
STALE3751d

[PATCH 1/2] fetch: add missing documentation

From: Felipe Contreras <hidden>
Date: 2016-06-15 22:58:52
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

There's no mention of the 'origin' default, or the fact that the
upstream tracking branch remote is used.

Signed-off-by: Felipe Contreras <redacted>
---
 Documentation/git-fetch.txt | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/Documentation/git-fetch.txt b/Documentation/git-fetch.txt
index e08a028..7e75dc4 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 the default the `origin` remote will be used,
+unless there's an upstream branch configured for the current branch.
+
 OPTIONS
 -------
 include::fetch-options.txt[]
-- 
1.8.4.2.gac946cf.dirty
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help