git拉取大文件失败


问题描述:

git拉取大文件失败

处理方式:

git clone http://github.com/demo/demo.git --depth=1(提交commit太多,只拉取最新的版本)

注意:

成功拉取代码后,需执行:git fetch --unshallow 执行后才能正常切其它远程分支

Git