Hello friends,
I am new to BitBucket and CI/CD as a platform. Set up a new BitBucket account, added SSH keys and also created the APP Password.
As a learning process, tried to clone a git repository to local machine (Linux Kernel 5.15) and use this code to checkin to Bitbucket and setup pipelines. This is my current status on the learning.
Repository with same name as folder name created on BitBucket.
On local linux machine, following commands were issued:
git add *
git commit -m "initial"
git remote set-url origin https://<username>:<apppassword>@bitbucket.org/skillshare-mastering-pipelines.git
git branch -v
git push
AFTER git push, it shows the following error:
remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
remote: See our community post for more details: https://atlassian.community/t5/x/x/ba-p/1948231
remote: App passwords are recommended for most use cases and can be created in your Personal settings:
remote: https://bitbucket.org/account/settings/app-passwords/
fatal: Authentication failed for 'https://bitbucket.org/skillshare-mastering-pipelines.git/'
WHATEVER I do, its the same error. APP Password creation does not seem to work.
The URL to include APP Password also does not seem to work.
Can you please help ?
Hi @Ravi K ,
If you added SSH keys, why don't you use SSH remote URL? The remote URL looks like git@bitbucket.org:your_space/skillshare-mastering-pipelines.git
Thank you, Thuan_Do Dang. Your suggestion worked for me.
Using the following syntax:
git push git@bitbucket.org:<workspaceid>/<repository_name>.git
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.