Android的工作室 - 检出* *分支从GitHub上 [英] Android Studio - checkout a *branch* from GitHub

查看:139
本文介绍了Android的工作室 - 检出* *分支从GitHub上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在GitHub上有3个分支回购。例如,假设 开发 preVIEW

We have a repo in GitHub which has 3 branches. For example, say master, developer and preview.

当我签这个回购协议在Android的工作室,它似乎检出唯一分支机构,忽略所有其他部门。 (Eclipse中常常问我们哪些分支,当我们从克隆GitHub的回购结算/进口)

When I checkout this repo in Android Studio, it seems to checkout the master branch only, ignoring all other branches. (Eclipse used to ask us which branch to checkout/import when we are cloning a repo from GitHub)

现在的问题是:?我们怎样才能选择一个分支,在检查出回购成的Andr​​oid Studio的时间

The question is : How can we select a branch at the time of checking out a repo into Android Studio?

图片1 - 的从GitHub上检出

Image 1- Checking out from GitHub

图片2 - 的它只是要求回购协议的URL,但不会分支

Image 2- It just asks for the repo URL, but NOT a branch.

推荐答案

在VCS菜单中,选择Git和点击分支,选择要使用哪个分支。

In VCS menu, you choose git and click branch to choose which branch you want to use.

或者点击右下角的git的菜单。

Or click right bottom corner git menu.

这篇关于Android的工作室 - 检出* *分支从GitHub上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆