linux 手动安装git

      下载 wget https://www.kernel.org/pub/software/scm/git/git-2.5.0.tar.gz
       tar ......
       ./configure XXX
       make
       make install
       设置环境变量
        vim /etc/profile
        export GIT_HOME=/usr/local/git/
         export PATH=$PATH:$GIT_HOME/bin

猜你喜欢

转载自hugoren.iteye.com/blog/2232851