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

后端 未结 7 1724
刺人心
刺人心 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:10

    Take a look at the second part of this page

    The only "dumb" protocol is straight HTTP, which requires no special effort on the server. In both the git:// and ssh:// protocols, a git upload-pack process (which is not a daemon) is forked on the server that communicates with the client who's running git fetch-pack. In both ssh:// and git://, you get "smart" communication.

提交回复
热议问题