git clone获取比较大的源码时, 不能断点续传, 比较恼火.
可以使用 git fetch 解决:
mkdir common
cd common
git init
git fetch http://android.git.kernel.org/common.git
传完后,
git branch -a
git checkout remotes/....
如果中间断掉了, 可以直接进入common目录, 继续git fetch就可以续传了.
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3