I'm having some trouble logging in via the Git GUI popup on Windows. I'm trying to run the following command:
git clone https://UserName@bitbucket.org/UserName/Repo.git
Where "UserName" and "Repo" are filled in, as provided by bitbucket.org.
I have created an app password for my computer and have it copied to my clipboard.
When I try to run the git clone, I get the GUI login below:
Pasting my app password straight from the BitBucket site and hitting "Log in" fails twice. On the third time, it simply asks me for it on the regular command line, at which time I hit paste, and it works just fine.
The problem is that when I try to run "yarn install", it tries to pull from a different private repository which I have added, and since the password isn't properly saved, the yarn install fails. Why didn't the password work on the GUI?
Hi Jacob, and welcome to the Community :)
When you're trying to log in via the GUI, have you tried to enter your regular Bitbucket password instead of the App Password?
I can see that the pop up is mentioning both Bitbucket and Sourcetree, can you confirm if you have Sourcetree installed? If so, can you check if the credentials you've saved there for Bitbucket are the right ones?
Let us know so we can continue helping you with this issue!
Thank you very much for responding!
Regarding the first suggestion, I log in to my account via my Google account, so I don't think I actually have a password set for the account itself - that's why I was using an app password instead. Is there a way to reset the account's base password when signing in via Google?
Regarding the second suggestion, I do have SourceTree installed on this computer. However, it has no accounts listed under Tools -> Options -> Authentication tab.
Finally, doing some research, I found that Windows can manage some credentials for the user - I made sure under the Credentials Manager in the Control Panel that there were no saved credentials referencing BitBucket.org.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events