Some time ago I was working on a Bitbucket repository using Sublime Merge. After performing a PUSH for the first time I had to enter my password for https://<my_bitbucket_username>@bitbucket.org. But after March 1, 2022 Bitbucket Cloud stopped supporting account passwords for Git authentication. So when I tried to perform a PUSH recently I got the following error message:
fatal: Invalid credentials remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication. [...] fatal: Authentication failed for 'https://bitbucket.org/<my_bitbucket_username>/<my_repository_name>.git/'
What should I do to regain the ability of performing PUSH operations in Sublime Merge.
In Web Browser login to your bitbucket account - after that you should land at the following address: https://bitbucket.org/<user_name>/
Now open the following address: https://bitbucket.org/account/settings/app-passwords/
Click 'Create app password' button.
Type some label for the new App Password and select the following Permissions: Repositories -> Read, Write, Admin
Click Create
Copy the created App Password and paste it somewhere not to lose it.
Now go to your repository in Sublime Merge.
You will see your previous Remote URL.
https://<your_user_name>:<app_password>@bitbucket.org/<your_user_name>/<repository_name>.git
Now you can click PUSH to perform the PUSH operation.