views:

196

answers:

1

Following directions on Android's main website to pull down sources, I'm looking at this command to initialize repo for the cupcake branch:

repo init -u git://android.git.kernel.org/platform/manifest.git -b cupcake

How can I view all available branches besides cupcake, i.e eclair, donut, etc...?

+2  A: 

It doesn't seem to be possible using the "repo" script, but you can query the list of available branches using git:

$ git clone git://android.git.kernel.org/platform/manifest.git
$ cd manifest
$ git branch -r
Volker Voecking
[Git web interface](http://android.git.kernel.org/?p=platform/manifest.git;a=heads) for the people who don't want to clone the git repository just to see what branches are available.
Cristian Ciupitu