使用 Sourcetree
clone 代码出现如下警告,导致 clone 失败
warning: templates not found in /usr/local/git/share/git-core/templates
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
原因:项目仓库太大,无法 clone 成功
解决办法:
采用 git clone ssh 的方式
git clone git@***.git
网友评论