在npm中git和git+ssh和git+https有什么区别?
PHP中文网
PHP中文网 2017-05-02 09:25:51
0
2
617

如题~明眼人一眼就可以看出来git+ssh是通过ssh,但是那个git有什么区别?那我们平时clone的时候也是直接写git,为什么不直接写git+ssh?

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!