Git 相关
小于 1 分钟
Git 相关
error: RPC failed; result=22, HTTP code = 422
将.git放在url的末尾
git文件过大
git clone --depth 1 https://github.com/microsoft/vscode.git
由于 VSCode 项目过于活跃,提交量非常庞大,到目前为止,已经有 56,092 次提交了,建议在下载源码的时候加上一句 --depth 1,意思就是只下载最近一次 commit 的代码
将.git放在url的末尾
git clone --depth 1 https://github.com/microsoft/vscode.git
由于 VSCode 项目过于活跃,提交量非常庞大,到目前为止,已经有 56,092 次提交了,建议在下载源码的时候加上一句 --depth 1,意思就是只下载最近一次 commit 的代码