SourceTree-使用Bug总结

SourceTree-使用Bug总结

  1. warning: templates not found /usr/local/git/share/git-core/templates
    warning: templates not foundgit

    重装系统,第一件事就是安装xcode和用SourceTree导入公司的项目
    谁料导入仓库的时候出现`warning: templates not found /usr/local/git/share/git-core/templates`
    仓库列表显示该仓库已被移动或者已经删除
    解决办法以下:
    1. 在SourceTree的 偏好设置- git 中,把"使用内置git" 更改成 "使用系统git"
      使用系统git
    到此为止就解决问题了
    也能够把该选项再切换回来,不影响使用。
    因此目测是一个templates相关的bug
    1. 若是仍是不行,多是Git所在电脑内存不够,重启Git所在电脑,再试;
    2. 使用git clone git*** --depth 1进行下载;
相关文章
相关标签/搜索