Search code examples
gitbitbucketgoogle-account

Bitbucket git credentials if signed up with Google


I have an account on bitbucket.org that I created by signing up with my Google account. Now everytime I log in I just click "Log in with Google" and that's fine.

How can I access my repos from git command line? It requests me username and password. I have a username, but no password. How do I log in then?


Solution

  • Solved:

    • Went on the log-in screen and clicked forgot my password.
    • I entered my Google account email and I received a reset link.
    • As you enter there a new password you'll have bitbucket id and password to use.

    Sample:

    git clone https://<bitbucket_id>@bitbucket.org/<repo>