># wget https://github.com/git/git/archive/v2.2.1.tar.gz >
# tar zxvf v2.2.1.tar.gz
># cd git-2.2.1
># make configure
># ./configure --prefix=/usr/local/git --with-iconv=/usr/local/libiconv
># make all doc
># make install install-doc install-html
># echo "export PATH=$PATH:/usr/local/git/bin" >> /etc/bashrc
># source /etc/bashrc
作者:nummy
链接:https://www.jianshu.com/p/7bdc8c5a92d1
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。