3

I have created a "private" repo on bitbucket, but it seems to me it is not that private. If I do:

git clone https://myuname@bitbucket.org/myuname/myrepo.git

I get the repo without being prompted for passwords or anything like that. And I do not have an SSH key, as I hate them.

So the question is: What am I doing wrong? I am puzzled.

Thanks

Ash Wilson
  • 22,820
  • 3
  • 34
  • 45
nourdine
  • 7,407
  • 10
  • 46
  • 58
  • Just tried it. Permission denied. It prompts for username name and password... are you sure you don't have saved it somehow in git ? – Zaffy Nov 16 '13 at 21:17
  • good question. How though? I even tried to apt-get remove --purge git and re install it. I need to try from another computer – nourdine Nov 16 '13 at 21:21
  • 1
    I don't think so. Try to find some configuration files like .git and .gitconfig or just create a new user and try from there. – Zaffy Nov 16 '13 at 21:24
  • [This may be relevant](http://stackoverflow.com/q/5343068/827263) – Keith Thompson Nov 16 '13 at 21:26

1 Answers1

2

I had to delete the folder:

.git-credential-cache in home/

It is now asking for password again when cloning

Ta

nourdine
  • 7,407
  • 10
  • 46
  • 58