git clone拉取过大的项目拉不下来的解决方法

在地址后加上 –depth=1
depth用于指定克隆深度,为1即表示只克隆最近一次commit


git clone xxx.git --depth=1

猜你喜欢

转载自blog.csdn.net/weixin_42821697/article/details/122437231
今日推荐