How Android Studio Switches Branch

Source: Internet
Author: User

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.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.