GIT 开启 Protocol Version 2

2018-09-27T13:50:00+08:00 | 1分钟阅读 | 更新于 2023-09-23T15:47:47+08:00

@
GIT 开启 Protocol Version 2

Git 2.18版本已支持 Git 协议v2 即开启该功能需要将GIT 版本升级到 2.18以上即可使用 GIT Protocol Version 2 可提升大容量 多分支仓库的传输速度 解决旧版本在大容量仓库下克隆速度慢的问题 例如linxu android源码仓库

git config --global protocol.version 2