1. 程式人生 > >Git出現fatal: Unable to find remote helper for 'https'

Git出現fatal: Unable to find remote helper for 'https'

    使用Git遠端獲取程式碼

git clone https://github.com/twlkyao/findfile.git

    出現“fatal: Unable to find remote helper for 'https'”(這是因為Git環境在重灌後沒有安裝完全,需要重新安裝),可暫時使用git代替https,使用如下命令:

git clone git://github.com/twlkyao/findfile.git

    這裡將使用程式碼安裝進行介紹:

    切換到程式碼目錄:

cd /opt/git-1.8.1.2/
    然後按照INSTALL中的說明設定安裝字首(一般使用root安裝):
$ make prefix=/usr all doc info ;# as yourself
# make prefix=/usr install install-doc install-html install-info ;# as root
   然後執行make install
# make install