What is the difference between git and git+ssh and git+https in npm?
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?
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.
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.