diff options
author | Michael J Gruber <git@drmicha.warpmail.net> | 2009-06-09 18:01:34 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-09 23:46:47 -0700 |
commit | 203462347fce0eab563fe77640648a7e8ae64d3b (patch) | |
tree | d5cc723473be92132fd19e120b721f461a14c9ed /Documentation/config.txt | |
parent | f4f78e668dd40f2d4a5bc119cccb3c34c2675c38 (diff) | |
download | git-203462347fce0eab563fe77640648a7e8ae64d3b.tar.gz |
Allow push and fetch urls to be different
This introduces a config setting remote.$remotename.pushurl which is
used for pushes only. If absent remote.$remotename.url is used for
pushes and fetches as before.
This is useful, for example, in order to do passwordless fetches
(remote update) over the git transport but pushes over ssh.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 3a86d1f8f0..2fecbe32a6 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -1319,6 +1319,9 @@ remote.<name>.url:: The URL of a remote repository. See linkgit:git-fetch[1] or linkgit:git-push[1]. +remote.<name>.pushurl:: + The push URL of a remote repository. See linkgit:git-push[1]. + remote.<name>.proxy:: For remotes that require curl (http, https and ftp), the URL to the proxy to use for that remote. Set to the empty string to |