2014-02-17 147 views
5

我收到以下消息試圖克隆GitHub庫遠程助手:警告:找不到模板/ share/git-core/templates |致命:無法找到的 'https'

git clone https://github.com/twbs/bootstrap.git 
Cloning into 'test'... 
warning: templates not found /share/git-core/templates 
fatal: Unable to find remote helper for 'https' 
  • 窗口8.1
  • Git版本1.8.5.2.msysgit。 0
  • 在我的路徑:C:\ Program Files文件\的Git \ CMD; C:\ Program Files文件\的Git \ BIN
  • http://windows.github.com/還安裝我的系統上
(它正在克隆)

有什麼想法?

回答

4

我發現問題的根源。 這是cmder(包含msysgit的完整版本),它與我已經安裝的msysgit有衝突。 因此,刪除我的電腦cmder修復了這個問題。如果你使用的是「迷你」版本,它應該可以工作。 如果有興趣,我開了一個問題https://github.com/bliker/cmder/issues/144