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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.