For Android Studio series of articles, are a small problem for an article, and did not tidy up together, mainly to facilitate everyone according to their own needs to find, at the same time in order to facilitate the understanding, will be directly.
The version control tool I use here is git, because git is distributed, and Dev can create its own branch at the local repo, so this time it involves the branch switch problem.
Use git bash to switch to the problem of trusting everyone, one line of command line. And in Android Studio may be a lot of people just start will not find where to switch, this side mainly talk about three ways, in fact, three ways in the final analysis is the same, but the entrance is different.
The first type:
The second type:
The third type:
Three ways to click, you will see the following dialog box, branch mainly divided into local and remote,local is the existence of native repo, you can directly switch. Remote Storage is remotely, you can only checkout the remote warehouse to the local, and can not switch the past.