summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2bb10fe)
raw | patch | inline | side by side (parent: 2bb10fe)
author | Santi Béjar <sbejar@gmail.com> | |
Mon, 23 Oct 2006 16:42:14 +0000 (18:42 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 23 Oct 2006 20:19:49 +0000 (13:19 -0700) |
Signed-off-by: Santi Béjar <sbejar@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/config.txt | patch | blob | history | |
Documentation/urls.txt | patch | blob | history |
index 84e38911eeecd3f4e5f195ada61cb9bc831a4627..ee51fe3b9fcb551d8dbd6374103898229d4b77ea 100644 (file)
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
pull.twohead::
The default merge strategy to use when pulling a single branch.
+remote.<name>.url::
+ The URL of a remote repository. See gitlink:git-fetch[1] or
+ gitlink:git-push[1].
+
+remote.<name>.fetch::
+ The default set of "refspec" for gitlink:git-fetch[1]. See
+ gitlink:git-fetch[1].
+
+remote.<name>.push::
+ The default set of "refspec" for gitlink:git-push[1]. See
+ gitlink:git-push[1].
+
show.difftree::
The default gitlink:git-diff-tree[1] arguments to be used
for gitlink:git-show[1].
diff --git a/Documentation/urls.txt b/Documentation/urls.txt
index 26ecba53fbfad4af4da46680330f998bf92f1b3f..670827c323fe276124ba1a84d59386771db868f1 100644 (file)
--- a/Documentation/urls.txt
+++ b/Documentation/urls.txt
respectively. Multiple `Push:` and `Pull:` lines may
be specified for additional branch mappings.
+Or, equivalently, in the `$GIT_DIR/config` (note the use
+of `fetch` instead of `Pull:`):
+
+[remote "<remote>"]
+ url = <url>
+ push = <refspec>
+ fetch = <refspec>
+
The name of a file in `$GIT_DIR/branches` directory can be
specified as an older notation short-hand; the named
file should contain a single line, a URL in one of the