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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events