diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-09-13 01:33:20 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-09-13 01:33:20 -0700 |
commit | 79cb645f9ac69f9e3c43e0265c247e47bb20037e (patch) | |
tree | 2ede4c243308f403bcd07f1353e7e1e64a81369c /Documentation/config.txt | |
parent | dc1b0c06ee9b3d2fb086a89e5b12da35bf360e4c (diff) | |
parent | 1c2eafb89bcaf2ddbf4dfb93df19673c0fadaaeb (diff) | |
download | git-79cb645f9ac69f9e3c43e0265c247e47bb20037e.tar.gz |
Merge branch 'jt/pushinsteadof'
* jt/pushinsteadof:
Add url.<base>.pushInsteadOf: URL rewriting for push only
Wrap rewrite globals in a struct in preparation for adding another set
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 8cbabe8012..be0b8cacaa 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -1515,6 +1515,19 @@ url.<base>.insteadOf:: never-before-seen repository on the site. When more than one insteadOf strings match a given URL, the longest match is used. +url.<base>.pushInsteadOf:: + Any URL that starts with this value will not be pushed to; + instead, it will be rewritten to start with <base>, and the + resulting URL will be pushed to. In cases where some site serves + a large number of repositories, and serves them with multiple + access methods, some of which do not allow push, this feature + allows people to specify a pull-only URL and have git + automatically use an appropriate URL to push, even for a + never-before-seen repository on the site. When more than one + pushInsteadOf strings match a given URL, the longest match is + used. If a remote has an explicit pushurl, git will ignore this + setting for that remote. + user.email:: Your email address to be recorded in any newly created commits. Can be overridden by the 'GIT_AUTHOR_EMAIL', 'GIT_COMMITTER_EMAIL', and |