现象
有时云代码部署是会报类似这样的错误:
deploy err: Error: 执行命令失败: Error: Command failed: Warning: Permanently added 'xxxx,xxx.xxx.xxx.xxx' (RSA) to the list of known hosts.
xxx.xxx Tips : [execute command error: exit status 255]
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
这类错误一般是由于从 git 仓库 clone 代码时速度很慢而终端引起的。较多发生在 github 仓库 clone,因为。。。你懂得。
解决办法
使用国内 git 仓库,比如 code.csdn.net,或者 gitcafe.com 等。
或者使用命令行工具部署,文档在 这里
-
创建时间
15年2月10日
-
最后回复
15年2月11日
- 7
回复
- 85
浏览
- 3
用户
- 1
链接