Pradeep Bhadani
Pradeep Bhadani

Reputation: 4751

Bitbucket in http mode clones repo without password

I noticed that when i am trying to clone a private repo with command like : git clone http:// , it stopped asking me for password and clones the repo.

I checked ~/.gitconfig file and it do not contain my bitbucket password. It just contain email and name.

I have not set my bitbucket account to use SSH

What could be possible reason or location from where git is picking my password?

Upvotes: 0

Views: 490

Answers (1)

Pradeep Bhadani
Pradeep Bhadani

Reputation: 4751

Behaviour : Commandline do not prompt for password when cloning private repo.

Root Cause: Mac Keychain stored my bitbucket password in its KeyChain utility.

Solution: Remove your bitbucket password entry from KeyChain Utility.

Upvotes: 1

Related Questions