Friday, April 22, 2022

[SOLVED] BitBucket: You are using an account password for Git over HTTPS

Issue

Today I got the following message when I used Git + BitBucket on MacOS while pushing a new branch to BitBucket.

You are using an account password for Git over HTTPS.

Beginning March 1, 2022, users are required to use app passwords remote: for Git over HTTPS. To avoid any disruptions, change the password used in your Git client remote: to an app password. Note, these credentials may have been automatically stored in your Git client and/or a credential manager such as Git Credential Manager (GCM).'


Solution

In my case, I used BitBucket via HTTPS and not via SSH. Therefore I had to change it.

  1. Follow this guide to create and add a new SSH key.
  2. Follow this guide to switch from HTTPS to SSH.

Unrelated and optional:

While you are at this security related task, activate 2FA in your BitBucket security settings.



Answered By - Robin Wieruch
Answer Checked By - Robin (WPSolving Admin)