Teruyuki Takazawa
Teruyuki Takazawa

Reputation: 21

How to change the active branch on Git repository of IBM DevOps Service?

I'm using Git repository of IBM DevOps Service. In the overview screen, files of master branch are always shown though I works mainly on develop branch. The develop branch is listed in the list box I know, but I'd like to get files on develop branch immediately. Also I know, in the case of normal GitLab, I can set default branch in setting screen. But I cannot find similar setting on IBM DevOps Service.

Do you know how to change the active branch on Git repository of IBM DevOps Service?

Upvotes: 2

Views: 144

Answers (1)

StephT.
StephT.

Reputation: 11

If I understand your situation correctly, with DevOps Services you can check out the develop branch instead of switching to it each time. If you check out the branch, it stays as your active branch, even if you shut down.

To check out a branch:

  1. From the overview page of your app, click EDIT CODE.
  2. Click Git Repository. Git Repository button
  3. In the Reference menu, find your branch and click the Checkout button. Checkout button

I hope that helps.

Upvotes: 1

Related Questions