How to display available branches in Android source tree?

后端 未结 6 802
南笙
南笙 2021-01-30 17:20

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://an

6条回答
  •  囚心锁ツ
    2021-01-30 17:52

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

    $ git clone https://android.googlesource.com/platform/manifest.git
    $ cd manifest
    $ git branch -r
    

    If you don't want to clone the repository just for this, you can see the branches on the web interface.

提交回复
热议问题