Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SourceTree will not Authenticate correctly with BitBucket

When I try to pull or push any repository from SourceTree (v3.1.1) to BitBucket I am getting failure due to "incorrect username or password"

I use "Global Authentication" for my Repositories and when I go into Authentication settings in SourceTree and "Refresh" password I get the green tick and all is good.

Can you please help.

1 answer

0 votes
Ana Retamal Atlassian Team Mar 19, 2019

Hi Keith,

Are you pushing to the right account? Can you double check that the credentials are correct by trying to log in to Bitbucket via the browser?

Alternatively, you can try pushing the changes from the command line and see if the credentials work or if you get any error message. If it works, that would mean Sourcetree is storing wrong credentials somewhere, in this case you could try wiping Sourcetree preferences.

I'd also suggest having a look at the Sourcetree logs in case there's any additional information there. 

Let us know how it goes!



I actually have resolved this now. I was/am pushing to the correct account.

This issue was that I needed to do an update on the GIT Embedded. Once I did this it resolved my issue.

Thanks for your reply.


Ana Retamal Atlassian Team Mar 20, 2019

Glad you could solve it, Keith.

Have a good day!


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,719 views 4 12
Read article

Community Events

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

Events near you