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進行下載;
相關文章
相關標籤/搜索