Clone permissions

I recently created a private repository. From the given https link, I tried "git clone URL" command. It just cloned without prompting me for a password. Is this acceptable or am I missing something?

Thanks in advance,

M

 

4 answers

1 accepted

Accepted Answer
1 vote

It turns out that, on the MAC that I was using, the password for Bitbucket is stored in the KeyRing. So it automatically logged in. Sorry about the imprudent question !

It depends.  Was it an http or an ssh URL?  Are you using Bitbucket Cloud, Bitbucket Server, or some other hosting for your remote repo?

Sorry, I forgot to mention. It is bitbucket-cloud and HTTPS. I have been using it for several years now and I have not noticed that it cloned without password prompt. The documentation clearly states that, private repositories cannot be cloned without proper permissions even with a valid URL. Is there some setting I am missing?

I'm not sure - I haven't used Cloud, only Server.  But that certainly sounds odd.  A clone request using http should always require a password unless the repo is configured to allow anonymous access.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 08, 2018 in Teamwork

If you could delete any meeting from your calendar, which one would it be?

Let’s face it: most of us have too many meetings on our calendars. And few things are a bigger waste of time than recurring meetings that no longer provide any value to attendees (or the busines...

346 views 11 9
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you