Hello,
I would like to set a repository to be accessible by anyone in the world (public) but would like to make it read/clone only. Is this possible? How can I do that?
Thank you very much!
Valeria
Hi Valeria,
You can make a repository public from Repository settings on Bitbucket website, you will need to deselect the option "This is a private repository".
All public Bitbucket Cloud repositories can be viewed and cloned by anyone. The only ones who can push to a public repo are users that have at least write access to the repo.
Please feel free to let me know if you have any additional questions about this.
Kind regards,
Theodora
Hello @Theodora Boudale ,
Thank you so much for your prompt response. To make sure that I understood correctly, by default all public repositories are read and cloned only, but only the registered users with write permissions will be able to push to the public repo? correct?
Thank you once again,
Valeria
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Valeria,
Yes, that is correct.
One additional thing: users without write access will also be able to create a fork of the public repo under their workspace, push changes to their fork (not to your public repo), and then create a pull request from the fork to your public repo.
Users with write/admin access to the public repo can then review the pull request and either merge or decline.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.