error: while accessing https://github.com/maoqiu123/HelloWorld.git/info/refs
fatal: HTTP request failed
fatal: HTTP request failed
2018-05-12
修改環境變量
# sudo vim /etc/profile
在最后一行添加
export PATH=/usr/local/git/bin:$PATH
保存后使其立即生效
# source /etc/profile
查看是否安裝成功
#git --version
再次執行git clone
插曲三、當使用git clone時SSL conection error,fatal: unable to access : SSL connect error,使用yum update -y nss curl libcurl解決之
總算是把github上的東西檢出到本地了。
# sudo vim /etc/profile
在最后一行添加
export PATH=/usr/local/git/bin:$PATH
保存后使其立即生效
# source /etc/profile
查看是否安裝成功
#git --version
再次執行git clone
插曲三、當使用git clone時SSL conection error,fatal: unable to access : SSL connect error,使用yum update -y nss curl libcurl解決之
總算是把github上的東西檢出到本地了。
2018-04-14
當使用git clone時出現while accessing的錯誤時。
1)可能是由于git版本太低引起的你只能使用yum remove git將其卸載掉。
2)開始安裝
wget獲取git
解壓下載的文件進入文件目錄
執行編譯
# make configure
# ./configure --prefix=/usr/local/git --with-iconv=/usr/local/libiconv
# make all doc
# sudo make install install-doc install-html
在此時make all doc出錯使用yum install 那些缺的
1)可能是由于git版本太低引起的你只能使用yum remove git將其卸載掉。
2)開始安裝
wget獲取git
解壓下載的文件進入文件目錄
執行編譯
# make configure
# ./configure --prefix=/usr/local/git --with-iconv=/usr/local/libiconv
# make all doc
# sudo make install install-doc install-html
在此時make all doc出錯使用yum install 那些缺的
2018-04-14