Hi;
I made a mistake when I initially signed onto bitbucket for work. The user name I signed up with was incorrect. I should have used my "work" username.
This is now causing some issues when I use bitbucket and sourcetree, because sometimes I use GIT using the command line, and it's using my "work" username, vs. the username in source tree.
I've tried adding a new authentication, but it won't let me type in a new username.
How do fix this issue?
Thanks!
Community moderators have prevented the ability to post new answers.
Hi @icornejo
Welcome to the Atlassian community!
This one is a bit old, so you may have already solved it. In case it helps: an OAuth account in Sourcetree does not let you set a username on purpose. It inherits whichever Atlassian account is signed in through your browser when you authorize.
So I would:
Two things often missed: the old username can also sit inside the remote URL (https://olduser@bitbucket.org/...), which you fix in Repository Settings. And your command-line git keeps its own login in Windows Credential Manager or the macOS Keychain, so clear that entry too.
Cheers, Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.