Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create a master branch on create repo when its not allowed to push to master.

Ben
Contributor
February 26, 2020

We have a branching policy so its only allowed to do a merge to master via a pullrequest.

When we create a NEW repository in BitBucket server at creation time there is no any branch created. Also not a master branch.

When we do a first push after a clone to the created repo, or when we allready have a project, and we want to push the code to the repository we can not push to master because of the branching policy so its not allowed to push to master.

So my conclusion is I need a master branch and it must be created when the repository is created.

Is it possible to create a default master branch on create repository or is there a solution to create a master branch directly in the Webinterface of BitBucket server ?

1 answer

0 votes
Ben
Contributor
March 2, 2020

Is this not Possible ??

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events