What is the difference between git and git+ssh and git+https in npm?
PHP中文网
PHP中文网 2017-05-02 09:25:51
0
2
673

Just like the title~ A discerning person can tell at a glance that git ssh uses ssh, but what is the difference between git and git? Then we usually write git directly when we clone, why not write git ssh directly?

PHP中文网
PHP中文网

认证0级讲师

reply all(2)
Peter_Zhu

git, ssh, https are three different protocols.

Please see the official website documentation for details

仅有的幸福

Git itself supports both http(s) and ssh protocols. If you git clone一个https://的URL,Git就调用http协议的后端,如果git clone一个ssh:// the URL, the ssh backend will be called.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template