diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-02-24 13:25:54 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-24 13:25:54 -0800 |
commit | e84d5e9fa178a027b1c8b9f6e22c9173dcda03b3 (patch) | |
tree | b3d16c3076cb8bce048c54e331e86f56e0c0533b /Documentation | |
parent | 8020803f5057601c1c29ffcdbd309905bd26eef7 (diff) | |
parent | c915f11eb4922e154e29cf62d3b549d65c06a170 (diff) | |
download | git-e84d5e9fa178a027b1c8b9f6e22c9173dcda03b3.tar.gz git-e84d5e9fa178a027b1c8b9f6e22c9173dcda03b3.tar.xz |
Merge branch 'ew/force-ipv4'
"git fetch" and friends that make network connections can now be
told to only use ipv4 (or ipv6).
* ew/force-ipv4:
connect & http: support -4 and -6 switches for remote operations
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/fetch-options.txt | 8 | ||||
-rw-r--r-- | Documentation/git-push.txt | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt index 952dfdfef..036edfb09 100644 --- a/Documentation/fetch-options.txt +++ b/Documentation/fetch-options.txt @@ -158,3 +158,11 @@ endif::git-pull[] by default when it is attached to a terminal, unless -q is specified. This flag forces progress status even if the standard error stream is not directed to a terminal. + +-4:: +--ipv4:: + Use IPv4 addresses only, ignoring IPv6 addresses. + +-6:: +--ipv6:: + Use IPv6 addresses only, ignoring IPv4 addresses. diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt index 32482cec4..669a357c8 100644 --- a/Documentation/git-push.txt +++ b/Documentation/git-push.txt @@ -277,6 +277,13 @@ origin +master` to force a push to the `master` branch). See the default is --verify, giving the hook a chance to prevent the push. With --no-verify, the hook is bypassed completely. +-4:: +--ipv4:: + Use IPv4 addresses only, ignoring IPv6 addresses. + +-6:: +--ipv6:: + Use IPv6 addresses only, ignoring IPv4 addresses. include::urls-remotes.txt[] |