
12/10/2018 · James Ramsay
What this post added
GitLab has enabled Git Protocol v2 over SSH on GitLab.com, following its earlier enablement for HTTP. This protocol, supported from Git v2.18.0, improves the performance of fetch commands and enables future protocol enhancements by defining how clones, fetches, and pushes are communicated between client and server. The post demonstrates a significant reduction in network traffic, dropping from over 36,000 lines (packets) to fewer than 30 for a sample `ls-remote` command on the gitlab-org/gitlab-ce.git repository when using Protocol v2 compared to Protocol v0.