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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 has invalid credentials but cannot clear / reset them. How do I fix? Edited

I have cleared all of the cached windows credentials.

I have cleared the source tree credentials.

I have cleared the git credentials.

It continually sends invalid credentials to bitbucket server and locks my account.  I cant work.

HTTPS connection.

It never prompts me for user/password.

This question was asked earlier but never truly answered.

1 answer

Found this undocumented answer, it is sort of back-end hack.

Apparently Sourcetree in some fleet of over-site, stores the password in a file that only gets changed or reset when deleting the file. Even after removing all credentials within the Sourcetree interface.

No option to change the password, you must delete the file.

This is rather annoying for any security conscious person/organization that changes their password on a regular bases.


The only thing that worked for me was navigating to C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree and removing the passwd file.

Once this file is removed, restart SourceTree and execute a fetch or something else that requires access to the repo in question. SourceTree will then prompt you for your password, rewriting the cached credentials.


Suggest an answer

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

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,725 views 19 19
Join discussion

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