git - Android Studio - checkout a *branch* from GitHub -


we have repo in github has 3 branches. example, master, developer , preview.

when checkout repo in android studio, seems checkout master branch only, ignoring other branches. (eclipse used ask branch checkout/import when cloning repo github)

the question is : how can select branch @ time of checking out repo android studio?

image 1- checking out github

checking out github

image 2- asks repo url, not branch.

it asks repo url, **not** branch.

in vcs menu, choose git , click branch choose branch want use.

enter image description here

or click right bottom corner git menu.

enter image description here


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -