How to display available branches in Android source tree?

后端 未结 6 806
南笙
南笙 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:56

    The manifests are already checked out as part of the repo init process. To get a list of available branches, (from your android repo checkout root), use this command:

    git --git-dir .repo/manifests/.git/ branch -a
    

提交回复
热议问题