changing branch using repo

view story

http://stackoverflow.com – Hi I have repo initialised with Manifest branch: refs/tags/android-4.2_r1 Manifest merge branch: android-4.2_r1 I'd like to android-4.2.2_r1.2 and tried $repo checkout android-4.2.2_r1.2 $Checkout android-4.2.2_r1.2: 100% (329/329), done. error: no project has branch android-4.2.2_r1.2 But android gerrit say there's a branh named android-4.2.2_r1.2 https://android.googlesource.com/platform/manifest/+refs I'm looking for exact commands I need to use for changing between branches with sources synced like from JB to ICS and vice versa. (HowTos)