Logged into my Bitbucket account after not using it for a few years and authenticated through Google to come back to it. I was prompted to connect the earlier account to what I assume was a new one that Atlassian set up for me. The problem now is that when I get prompted for a password when I try to push code to Git and I use my previously saved Bitbucket password, I get an authentication error.
So basically, I'm just trying to figure out how I can log into Git from Terminal on my computer now. Should the old password still be working?
if you are not able to login try resetting your password and use the new password to login in terminal. The best way is to use your SSH key to access your bitbucket with git from terminal
that’s what i figured. i’m going to try setting up an SSH key first.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ssh worked, but i also had to edit the .git/config file:
from:
[remote "origin"]
url = https://<username>@bitbucket.org/<username>/<repo>.git
...
to:
[remote "origin"]
url = git@bitbucket.org:<username>/<repo>.git
...
in case someone doesn't know why this is asking for a password even after you've added your ssh public key
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.