aboutsummaryrefslogtreecommitdiff
path: root/Documentation/urls.txt
diff options
context:
space:
mode:
authorSanti Béjar <sbejar@gmail.com>2006-10-23 18:42:14 +0200
committerJunio C Hamano <junkio@cox.net>2006-10-23 13:19:49 -0700
commit0cc6d3464a1944e930cfb12ba030eb1581323845 (patch)
treeaffac07b2289661589dfb290d440f33eaf155b3d /Documentation/urls.txt
parent2bb10fe51eae9bf205513b6a1f9197d4599a8c03 (diff)
downloadgit-0cc6d3464a1944e930cfb12ba030eb1581323845.tar.gz
git-0cc6d3464a1944e930cfb12ba030eb1581323845.tar.xz
Documentation for the [remote] config
Signed-off-by: Santi Béjar <sbejar@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/urls.txt')
-rw-r--r--Documentation/urls.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/urls.txt b/Documentation/urls.txt
index 26ecba53f..670827c32 100644
--- a/Documentation/urls.txt
+++ b/Documentation/urls.txt
@@ -51,6 +51,14 @@ lines are used for `git-push` and `git-fetch`/`git-pull`,
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