Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Is there an option to freeze or lock repo temporary?

I know that as an admin you could give everyone only 'read' permission in order to prevent any changes to the repo. 

Is there a simple option somewhere in settings to temporarily freeze the repo?

1 answer

1 vote
Patrik S Atlassian Team May 26, 2022

Hello @Olya Rosenberg ,

Welcome to Atlassian Community!

I'm afraid there's no particular feature in Bitbucket Cloud to freeze the repository, but in case what you are trying to achieve is to prevent users from pushing new changes to a particular repo you can either give everyone only 'read' permissions, as you already mentioned, or you also have the option to create a branch permission to block everyone from pushing changes, like the below example :

Screen Shot 2022-05-26 at 17.32.21.png

The above branch permission will be applied to all the branches in the repository (cause it's using the * wildcard) and will prevent everyone from pushing new changes to the repo (no write access).

You can create a similar rule in your repository by going to Repository Settings > Branch permissions.

For more details about branch permissions you are also welcome to check the following documentation :

Hope that helps! Let me know in case you have any questions.

Thank you, @Olya Rosenberg .

Kind regards,

Patrik S

This is exactly what I was looking for. Thank you!

Like Patrik S likes this
Patrik S Atlassian Team May 30, 2022

Hello @Olya Rosenberg ,

Awesome! Happy to have been of some help :) 

Thank you!

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,230 views 2 9
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