auro
auro

Reputation: 1089

How to directly land on a non-master branch at github.com when I click on my repo

I've hosted a project. The actual work I did is on the ssd branch (not master).

When I land on my site via https://github.com/ and click on my repo ssd-spacenet, I get the master branch by default. What I want is to point to my work branch (in this case, the ssd branch) and not the master branch when I click on the repo link.

Right now, I have to go to the branch button (top and right) and select the ssd branch as the master branch shows up by default.

Is there some setting for this?

Thank you.

Upvotes: 1

Views: 89

Answers (1)

Alec von Barnekow
Alec von Barnekow

Reputation: 1001

In the project settings in the Branches menu you can select the default branch that you want. After updating, when you do to your project page, the selected branch will be selected.

Upvotes: 2

Related Questions