从开发android studio创建分支 [英] Create branch from develop android studio

查看:189
本文介绍了从开发android studio创建分支的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Android Studio / Intellij创建本地分支的想法从远程开发,然后合并开发?然后我创建本地分支,请参阅第一个图像链接。它由master创建,可以合并到远程开发或master分支中。

从master创建的Android studio本地分支





提交树,Bitbucket



解决方案


检查一个新的本地分支远程分支



按访问Git分支弹出式菜单中所述调用分支菜单。
在弹出列表中选择一个显示所有可用本地和远程分支的分支,然后从子菜单中选择Checkout as new local branch。
在打开的对话框的检出新分支中指定新分支的名称。
具有指定名称的分支将被检出并置于版本控制之下。

取自这里


How to create local branch in Android Studio/Intellij idea from remote - Develop, and then merge to develop? Then I creating local branch, see in first image link. It's creating from master and can be merged remote develop or master branches.

Android studio local branch creating from master

Commits tree, Bitbucket

解决方案

To check out a new local branch from a remote branch

Invoke the Branches menu as described in Accessing Git Branches Popup Menu. Select a branch in the pop-up list that shows all available local and remote branches, and choose Checkout as new local branch from the submenu. Specify the name of the new branch in the Checkout new branch from dialog that opens. The branch with the specified name will be checked out and put under version control.

Taken from here.

这篇关于从开发android studio创建分支的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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