1.
git clone --depth=1 <your git repo url>
2.
git pull --unshallow
如果还是失败,则逐步加大深度,执行:
git pull --depth=<your depth >
参考
博客介绍了Git操作的相关命令。可使用git clone --depth=1克隆仓库,若后续git pull失败,可先执行git pull --unshallow,若仍失败则逐步加大深度,执行git pull --depth=<your depth >,还给出了参考链接。
1.
git clone --depth=1 <your git repo url>
2.
git pull --unshallow
如果还是失败,则逐步加大深度,执行:
git pull --depth=<your depth >
参考
2097

被折叠的 条评论
为什么被折叠?