GIT updates the local remote branch list in Android Studio?

Source: Internet
Author: User

For example, if your colleague adds branch xxx to GIT's remote branch, but you find that you are viewing the presence of branch in Android studio, and you don't see his added branch, if you look at branch, poke this: How Android Studio View Branch list and toggle Branch ,

Here's another way to get to the command line:git branch-a or git branch-r

If you can see the new branch, there are two ways to do it:

Way one: Git fetch


Way two: Git Remote update Origin--prune, here to note, if your remote branch is not under Origin, press you to change origin to your name.


You can use the command line directly on Git bash, or you can use terminate in Android Studio.

Remember to configure Git's Bin directory as an environment variable (in path) before using it in Android Studio

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.