linux安装git(ubuntu, redhat)
ubuntu很简单
sudo apt-get install git-core
redhat要下载后手动编译安装
首先要确保安装了curl
yum install curl
下载并编译安装
wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz tar xzvf git-latest.tar.gz cd git-{date} #现在的最新版本为git-2011-09-07 make make install