一、linux中git的安装
下载git安装程序:http://linux.newhua.com/soft/387.htm(1.7.6版本)。
(1)tar -zxvf git-1.7.6.tar.gz(解压缩)
(2)./configure -prefix=/usr/local/git(设置安装路径)
(3)make clean(清除可能无效的目标文件)
(4)make(编译源码,生成目标文件)
(5)make install(安装文件,将编译后的目标文件放到该放的目录中)
安装完成后,执行git --verison查看版本,是否安装成功。“git version 1.7.6”。
二、安装git的eclipse插件egit
网址:http://www.eclipse.org/egit/download/
网页显示内容:
- Main P2 Repository: http://download.eclipse.org/egit/updates (Recommended)【推荐地址】
- Indigo P2 Repository: http://download.eclipse.org/releases/indigo