Create branch from develop android studio

2019-09-12 15:58发布

问题:

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

回答1:

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.