git clone速度慢

来源:互联网 发布:古树旋律剧情知乎 编辑:程序博客网 时间:2024/04/28 02:32

解决方法:

1.clone最新一个提交

git clone --depth 1 https://github.com/torvalds/linux.git


2.更新获取完整历史版本[如果需要的话]

git fetch --unshallow

0 0
原创粉丝点击