LINUX手动安装git

# wget http://kernel.org/pub/software/scm/git/git-1.8.3.tar.gz
# tar -zxvf git-1.8.3.tar.gz
# cd git-1.8.3
# ./configure --prefix=/usr/local/git

# make
# make install

LINUX命令自动安装GIT:
ubantu:
sudo apt-get install git-core
redhat:
yum -y install git

 repo android代码下载方法

repo 下载:

git clone   https://android.googlesource.com/tools/repo

把repo文件 放到/usr/local/sbin/repo

android 最新代码下载

repo init -u https://android.googlesource.com/platform/manifest

Logo

更多推荐