git clone报错

问题:error: RPC failed; curl 18 transfer closed with outstanding read data remaining

方法:(一般http方式会用到)

$ git clone 仓库地址 --depth 1
$ cd 项目目录
$ git fetch --unshallow

附带:指定分支命令 -b 分支名

例如:git clone -b 分支名 仓库地址

猜你喜欢

转载自blog.csdn.net/f120854632/article/details/87689030