Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio - create remote branch from local

Is it possible to push local commit as new remote branch or make local branch as remote one in Android Studio? And how? I know how to do that using console. Just wondering is there any possibility to do that in Android Studio.

There are no problems creating local branches from remote using "Checkout as new local branch" but how could you do exactly vice versa?

like image 208
AnZ Avatar asked Oct 22 '25 05:10

AnZ


1 Answers

push local commit as new remote branch

Yes, it is possible.

In below figure, click underlined develop branch name and give new name.

It will show + sign with name if remote branch is not existed. Then, Android Studio automatically creates new remote branch with given name.

enter image description here

like image 160
Youngjae Avatar answered Oct 24 '25 17:10

Youngjae