I am not able to access my colleague's fork branches. We need this because we use to work on big requirements, and we want to be able to collaborate without merging unstable code to the main repository.
When I try to browse my colleague's fork on the browser, it says "permission denied".
Thanks in advance,
Hi Anoop! If your colleague has forked the repository and didn't make it public or didn't give you permission to access it, you won't be able to see it or fetch its branches.
A fork is just a copy of a repository, and it will not inherit the permissions of the repo it was forked from. For more information you can read Repository privacy permissions.
Thanks a lot for your help.
My colleague added me with appropriate access permission for his fork and now I have acces to a particular fork.
But just wandering if there is a way to further simplify this.
So we are basically team of around 50 contributers. And most of us work on multiple repos(eg: I have forked 5 repos). To provide whole team at least read access to my forks, do I need to add all members to all my forks manually?
Hi Anoop, when forking a repository there's an option to inherit the same permissions as the parent repo, but it has to be specifically checked by the person that is forking it. You can find it under Advanced options as shown in this screenshot:
Hope it helps!
Hi Anoop, in your screenshot I can see you're using Bitbucket Server, but the functionality I was talking about it's only available for Bitbucket Cloud.
There's a Feature Request for Server, however, and you can find it at BSERV-4037. You can vote for it to increase it's popularity, write a comment or add yourself as a watcher to be updated of further notifications.
Let us know if there's something else we can help you with :)
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs