0

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

enter image description here

Commits tree, Bitbucket

enter image description here

6
  • Do you want to create a branch from develop? Type in command line git checkout develop , git checkout -b your_branch Commented Jun 15, 2016 at 20:26
  • Yes. I want create only from develop, because it got frequentsy updates. How checkout new branch from develop, without terminal? Commented Jun 15, 2016 at 20:29
  • "Without terminal"...what OS are you using? Commented Jun 15, 2016 at 20:30
  • Windows operating system Commented Jun 15, 2016 at 20:31
  • You have a terminal in Android Studio where you can run git commands, try it Commented Jun 15, 2016 at 20:41

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.