1.下载
http://code.google.com/p/msysgit/downloads/list
Git-1.7.10-preview20120409.exe | Full installer for official Git for Windows 1.7.10FeaturedBeta | Apr 9 | 14.6 MB |
2.安装,设置一路缺省即可
3.使用例子
http://code.google.com/p/apps-for-android/source/checkout
Command-line access
Get a local copy of the apps-for-android repository with this command:
穿墙:参考 http://fujue.blog.51cto.com/4591981/836707 (本人未验证!)
3. 本地启动goagent
并设置git的代理为:127.0.0.1:8087
git config --global http.proxy "127.0.0.1:8087"
4参考(本人未验证!)
Windows XP下git通过代理下载android代码
http://kb.cnblogs.com/a/1955462/
首先下载git的windows安装版,解压并安装。
运行C:\msysgit\msysgit下的msys.bat,弹出命令窗口。
然后定位到你想下载的目录。例如:D:/Android。
cd D:/Android
设置git的http代理:
export http_proxy=代理用户名:代理密码@10.23.25.22:8080
下载命令:
git clone git://android.git.kernel.org/
+ project path.
5老外的参考(本人未验证!)
Setting up Git and GitHub on windows xphttp://mrsimonelliott.com/blog/setting-git-and-github-windows-xp