From the course: Android Studio Essential Training 2020

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Manage repository branches with Git

Manage repository branches with Git

From the course: Android Studio Essential Training 2020

Start my 1-month free trial

Manage repository branches with Git

- [Instructor] Android Studio lets you create and manage additional branches in your Git repository. You can do this from a few different places. For example, you can go down here to this popup menu and then you can click and drag to drag it up from the top. If you click on existing branches, you can rename them. Or you can create brand new branches. So for example, I'm going to create a brand new branch that I call my_new_feature. You can name it anything you want but it can't have any spaces in it. And then I'll accept the default to check out the branch immediately and create it. And if I click here, I'll see that my new feature is listed. And then I can push that branch up to the website by going to the menu and choosing VCS, Git, Push. I'll see this prompt and when I click Push, that will create the new branch in the GitHub website and anybody who clones your repository will have access to that branch.…

Contents