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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Jodi LeBlanc
Posted Thursday in Off-topic

Friday Fun: How do you recharge your batteries after a busy week?

Happy Friday – Fun Day! I don’t know about you, but I have been giving everything I’ve got this week (and most weeks) and come Friday I look for unique ways to recharge my batteries - rest, relax, a...

215 views 21 4
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