`
kevinffk
  • 浏览: 33370 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

win7安装git下载指定android版本源码

 
阅读更多

 网上教程很多,但都是介绍把整个android下载下来,这里分享一下下载指定android版本的方法。主要敲git的指令。

1.下载git

https://git-for-windows.github.io/

2.选择Git Bash, 按照下面指令

git clone --branch <tag_name> <repo_url> <target_path>

 

例如

https://android.googlesource.com/platform/frameworks/base/+refs



 

 

可用git指令

git clone --branch android-4.4.2_r2 https://android.googlesource.com/platform/frameworks/base android

 

表示要克隆tag android-4.4.2_r2到文件夹android。

 

  • 大小: 38.7 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics