Source tree keeps asking for password when execute pull/push commond

When excute git pull/push commond, the source tree keeps asking for my password as the following picture showed, but in the terminal, the git pull/push commond works well and dose not asking for the password, could anyone tell me why, many thanks!

5 answers

This widget could not be displayed.

Is it possible that your terminal is configured to use a keypair, but SourceTree isn't?

This widget could not be displayed.

Hey rui,

Looks like your URL format might be wrong. Could you post a redacted version in its current format?

Thanks in advance

This widget could not be displayed.

I had the same problem and basically just you need to delete the passwords in your keychain.

After that, try to add a repository and click in the icon in the right (world icon)

You will be asket to insert your password and login again...

That's it


This widget could not be displayed.

I'm having the exact same issue.  I've tried every solution people have posted on the internet:

  • delete keychain pw
  • change the repo url to include the username (
  • Go to Repository > Repository Settings > Remotes — click the repo path and hit edit, add your username there so Keychain can find the appropriate pw.
  • In the repo list view, go to Accounts and set the pw there

NOTHING works.  Every time I fetch, push, pull, whatever, it still asks me for my damn password. Every. Single. Time.  The Store Password In Keychain checkbox does nothing, and I'm supplying my username all over the place, so keychain needing that bit of info ahead of time in order to work is also not the solution.  This problem never happened until I recently did an update.  According to the About info, I'm running version 2.4 (88) now.  So, whatever that upgrade did must've introduced this problem.  This is REALLY annoying. 

This widget could not be displayed.

Did you ever resolve this? I'm having this issue now as well.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Teamwork

The tools we make for teams? We use them every day at Atlassian to get shit done (and it works).

I’m Jess, a Product Marketer for Jira Software Server and Data Center, and now a huge fan of our products. Read on for a 90 day, new-hire perspective on what it’s like to standardize on the Atlassian...

24 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you