Git出現fatal: Unable to find remote helper for 'https'
阿新 • • 發佈:2017-08-07
tools yourself title https self doc ref pri 安裝
使用Git遠程獲取代碼
[plain] view plain copy print?
- git clone https://github.com/twlkyao/findfile.git
出現“fatal: Unable to find remote helper for ‘https‘”(這是因為git環境在重裝後沒有安裝完全,需要重新安裝),可暫時使用git代替https,使用如下命令:
[plain] view plain copy print?
- git clone git://github.com/twlkyao/findfile.git
這裏將使用代碼安裝進行介紹:
切換到代碼目錄:
[plain] view plain copy print?
- cd /opt/git-1.8.1.2/
然後按照INSTALL中的說明設置安裝前綴(一般使用root安裝):
[plain] view plain copy print?
- $ make prefix=/usr all doc info ;# as yourself
- # make prefix=/usr install install-doc install-html install-info ;# as root
然後執行make install
[plain] view plain copy print?
- # make install
Git出現fatal: Unable to find remote helper for 'https'