Which is the smarter git protocol, ssh or git(over ssh) or https protocol?

后端 未结 7 1741
刺人心
刺人心 2020-12-02 16:53

Which is efficient? SSH:// or Git:// (File compression)

I understand in Git, git protocol is smart because there is a protocol agent on both ends of communication t

7条回答
  •  清歌不尽
    2020-12-02 17:21

    (I wanted to add a comment to @erjiang answer, but I'm not allowed because I don't have enough StackOverflow reputation.)

    It seems that since Git 1.6.6, HTTP is not "dumb" anymore. From Git website's blog:

    As of the release of version 1.6.6 at the end of last year (2009), however, Git can now use the HTTP protocol just about as efficiently as the git or ssh versions

提交回复
热议问题