From 30b7015f3133cd45d840b33cd4bf00120df68c80 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 1 Mar 2016 13:46:54 +0000 Subject: [PATCH] Update docs for github-protocols --- doc/06-config.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/06-config.md b/doc/06-config.md index 9807e6197..0dfd50bd0 100644 --- a/doc/06-config.md +++ b/doc/06-config.md @@ -45,10 +45,12 @@ What to do after prompting for authentication, one of: `true` (always store), ## github-protocols -Defaults to `["git", "https", "ssh"]`. A list of protocols to use when cloning -from github.com, in priority order. You can reconfigure it to for example -prioritize the https protocol if you are behind a proxy or have somehow bad -performances with the git protocol. +Defaults to `["https", "ssh", "git"]`. A list of protocols to use when cloning +from github.com, in priority order. By default `git` is present but only if [secure-http](#secure-http) +is disabled, as the git protocol is not encrypted. If you want your origin remote +push URLs to be using https and not ssh (`git@github.com:...`), then set the protocol +list to be only `["https"]` and Composer will stop overwriting the push URL to an ssh +URL. ## github-oauth