repo笔记清除同步过程中产生的不完整碎片文件在源码路径/.repo下搜索tmp_pack 将搜索结果中出现的所有文件全部删除以下命令仅供参考rm -rf */*/*/*/objects/pack/tmp_pack_* repo自动同步下载脚本echo #!/bin/bash echo "======start repo sync======" repo sync --force-sync --current-branch --no-tags --no-clone-bundle --optimized-fetch --prune -j$(nproc --all) while [ $? == 1 ]; do echo "======sync failed, re-sync again======" sleep 3 repo sync --force-sync --current-branch --no-...
在Windows下给cmd设置代理cmd打开方法按住win+R键,调出一个运行框,接着输入cmd并回车即可设置cmd代理一般性使用的如果是ShadowsockR的话,代理端口都是1080,v2ray的话则是10808ShadowsocksRset http_proxy=http://127.0.0.1:1080 set https_proxy=http://127.0.0.1:1080 v2rayset http_proxy=http://127.0.0.1:10808 set https_proxy=http://127.0.0.1:10808 为git设置代理ShadowsocksRgit config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy http://127.0.0.1:1080 v2raygit conf...
1…1011121314