The requested URL returned error: 401 Unauthorized while accessing

    xiaoxiao2023-10-04  23

    原因: contos 自带git版本太低 yum remove git 1 wget https://www.kernel.org/pub/software/scm/git/git-2.9.5.tar.gz 2.安装依赖包 yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker $ tar -zxvf git-2.9.5.tar.gz $ cd git-2.9.5 $ make prefix=/usr/local/git all $ make prefix=/usr/local/git install $ echo "export PATH=$PATH:/usr/local/git/bin" >> /etc/profile $ source /etc/profile $ git --version git version 2.9.5

     

    最新回复(0)