The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Private repository public branch access

Dainius
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 22, 2019

Is it possible to have private repository, but make some branches public? So somone can clone that branch (and push) without seeing or interfaring with master brach.

Not everyone, who will access these branches, have atlassian/bitbucket account. And only way for them to access would be with public sharing, but I don't want to give access to main branch.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 22, 2019

Hello @Dainius,

No, this is not possible: repository is the minimal unit for read access. Neither Git nor Mercurial have a concept of partial cloning of the repository. You can restrict write access using branch permissions in Bitbucket, but I guess this is irrelevant for your intended use case.

Let me know if you have any questions.

Cheers,
Daniil

TAGS
AUG Leaders

Atlassian Community Events