Bitbucket git credentials if signed up with Google
One way to skip this is by creating a specific app password variable.
- Settings
- App passwords
- Create app password
And you can use that generated password
to access or to push commits from your terminal, when using a Google Account to sign in into Bitbucket.
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>
You should do a one-time setup of creating an "App password" in Bitbucket web UI with permissions to at least read your repositories and then use it in the command line.
How-to:
- Login to Bitbucket
- Click on your profile image
on the right(now on the bottom left) - Choose
Bitbucket settings(now Personal settings) - Under Access management section look for the App passwords option (https://bitbucket.org/account/settings/app-passwords/)
- Create an app password with permissions at least to Read under Repositories section. A password will be generated for you. Remember to save it, it will be shown only once!
- The username will be your
Google usernameBitBucket username.
It's March 2019, and I just did it this way:
- Access https://id.atlassian.com/login/resetpassword
- Fill your email and click "Send recovery link"
- You will receive an email, and this is where people mess it up. Don't click the Log in to my account button, instead, you want to click the small link bellow that says Alternatively, you can reset your password for your Atlassian account.
- Set a password as you normally would
Now try to run git commands on terminal.
It might ask you to do a two-step verification the first time, just follow the steps and you're done!