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?
天蓬老师2017-05-02 09:27:51
git, ssh, https are three different protocols.
Please see the official website documentation for details
仅有的幸福2017-05-02 09:27:51
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.