如何显示在Android的源代码树的分支? [英] How to display available branches in Android source tree?
本文介绍了如何显示在Android的源代码树的分支?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Android的主网站拉下来源以下几个方向,我看这个命令初始化回购的蛋糕分支:
Following directions on Android's main website to pull down sources, I'm looking at this command to initialize repo for the cupcake branch:
回购的init -u git的://android.git.kernel.org/platform/manifest.git -b蛋糕
如何查看蛋糕之外的所有可用的分支,即闪电,甜甜圈等..?
How can I view all available branches besides cupcake, i.e eclair, donut, etc...?
推荐答案
这似乎并没有使用回购的剧本是可能的,但你可以使用Git查询可用分支列表:
It doesn't seem to be possible using the "repo" script, but you can query the list of available branches using git:
$ git clone http://android.googlesource.com/platform/manifest.git
$ cd manifest
$ git branch -r
如果您不希望克隆只是为了这个资源库,你可以看到 Web界面上的树枝
If you don't want to clone the repository just for this, you can see the branches on the web interface.
这篇关于如何显示在Android的源代码树的分支?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文