1
0
Fork 0

Update docs for github-protocols

pull/4982/head
Jordi Boggiano 2016-03-01 13:46:54 +00:00
parent fea99bcb1b
commit 30b7015f31
1 changed files with 6 additions and 4 deletions

View File

@ -45,10 +45,12 @@ What to do after prompting for authentication, one of: `true` (always store),
## github-protocols ## github-protocols
Defaults to `["git", "https", "ssh"]`. A list of protocols to use when cloning Defaults to `["https", "ssh", "git"]`. A list of protocols to use when cloning
from github.com, in priority order. You can reconfigure it to for example from github.com, in priority order. By default `git` is present but only if [secure-http](#secure-http)
prioritize the https protocol if you are behind a proxy or have somehow bad is disabled, as the git protocol is not encrypted. If you want your origin remote
performances with the git protocol. 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 ## github-oauth