Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How allow a user to clone a repository but avoid a user to login to

Hi, Is there any way to avoid a user to login to

But allow him to clone a repository if has permissions?




1 answer

1 accepted

0 votes
Answer accepted
Tyler T Atlassian Team Jan 19, 2021

Yes, if the user has permissions they can clone without using the website. They will need to know the repository URL or workspace ID + repository slug.

Here is some additional documentation for cloning repositories using git:

Thanks, I know they can clone with the url but what i want to avoid is to they be able have access to the repository in bit buckets dash board where you can see the commits, download it, etc.

Tyler T Atlassian Team Jan 20, 2021

If someone can clone a repository, then they have access to view the commit history. By cloning a repository, they are downloading it to their computer. That is how git works and not unique to Bitbucket Cloud.

A user cannot have read access to clone a repository without having read access to the repository on the Bitbucket website - the same information (the git repository) is on the computer that cloned it and the Bitbucket website.

The types of access a user can have are read, write, or admin. There are also more specific types of rules that can be configured at the branch level.

Does that help?

Yes that answer my question. 

I wanted something to avoid to them access to the bitbucket webside.

Where can we suggest things?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,826 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you