Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to control/manage the master branch and how to fork?

We are using  Bitbucket on the site and I have a few questions:

  1. While I want my developers to be able to clone to their local workstation how can I prevent/restrict developers from committing to the master (or other branches)?
  2. I do not see a Fork option for any of our repositories - only Clone. Thus question 1.

What I would like is for each developer to Fork a repo and then when they are ready to get it into the main repository to generate a Pull request.

Can this be done?  If so, what am I missing?


1 answer

1 accepted

1 vote
Answer accepted

Hi Lionel,

For 1., it is possible to create branch permissions (for master, or any other branch you want) and specify which users can push directly to this branch. The rest of them won't be able to do so.

You can read more on branch permissions and also find instructions on how to create them here:

For 2., while you are viewing the repo in Bitbucket Cloud website, select the + sign on the top left corner (right below the search sign):

Screenshot 2020-12-07 at 15.52.05.png

Then you'll see more options, including the Fork this repository:

Screenshot 2020-12-07 at 15.52.14.png

Please feel free to let me know if you have any questions!

Kind regards,

THANK YOU - this is perfect.

But:  Is there a way to make FORK more obvious (not in the + menu) ?

Hi Lionel,

You are very welcome!

Regarding the fork option, I'm afraid that it is not possible to configure where this option shows.

I can open a feature request for this if you'd like, for our product managers to take into account.

Where would you expect to find this option in the repository page?

Kind regards,

How about a Clone pulldown with a Fork option?

Hi Lionel,

Thank you for the feedback and apologies for the delay in my reply.

I went ahead and created a feature request for this in our issue tracker:

Please make sure to add your vote there (by selecting the Vote for this issue link). You can also add yourself as a watcher by selecting the Start watching this issue link, if you'd like the get notified on updates.

Implementation of new features is done as per our policy here: and any updates will be posted in the feature request ticket.

If you have any questions or need anything further, please feel free to let me know!

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,920 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you