Documentation for the [remote] config
Signed-off-by: Santi Béjar <sbejar@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Santi Béjar committed
Oct 23, 2006 at 18:42 UTC
0cc6d3464a1944e930cfb12ba030eb1581323845
2 files changed
+20
Documentation/config.txt
+12
@@ -230,6 +230,18 @@ pull.octopus::
230
pull.twohead::
231
The default merge strategy to use when pulling a single branch.
232
233
+remote.<name>.url::
234
+ The URL of a remote repository. See gitlink:git-fetch[1] or
235
+ gitlink:git-push[1].
236
+
237
+remote.<name>.fetch::
238
+ The default set of "refspec" for gitlink:git-fetch[1]. See
239
+ gitlink:git-fetch[1].
240
+
241
+remote.<name>.push::
242
+ The default set of "refspec" for gitlink:git-push[1]. See
243
+ gitlink:git-push[1].
244
+
245
show.difftree::
246
The default gitlink:git-diff-tree[1] arguments to be used
247
for gitlink:git-show[1].
Documentation/urls.txt
+8
@@ -51,6 +51,14 @@ lines are used for `git-push` and `git-fetch`/`git-pull`,
51
respectively. Multiple `Push:` and `Pull:` lines may
52
be specified for additional branch mappings.
53
54
+Or, equivalently, in the `$GIT_DIR/config` (note the use
55
+of `fetch` instead of `Pull:`):
56
+
57
+[remote "<remote>"]
58
+ url = <url>
59
+ push = <refspec>
60
+ fetch = <refspec>
61
+
62
The name of a file in `$GIT_DIR/branches` directory can be
63
specified as an older notation short-hand; the named
64
file should contain a single line, a URL in one of the