Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SourceTree on OSX: Clicking "Always Allow" bitbucket to use my password keychain has no effect

Every time I do a commit or pull on SourceTree, a popup comes up asking for my password. I click "always allow", but I still get prompted for my password every time via the same popup. Very annoying!

  • I use SourceTree v Version 2.0.5.2 (2.0.5.2) on MAC OSX Yosemite

  • I am using a git repository, hosted on BitBucket.

Somtimes the prompt to put in my password seems to come from OSX itself, without an option to always allow. And other times the popup comes from source tree, with the options, Allow, Aways All and Cancel.

This is what the popup looks like: https://gyazo.com/200353a7cdeb69d2ea2969fd1a58b260

like image 748
Adam Diament Avatar asked May 13 '15 11:05

Adam Diament


2 Answers

Seems like this has been a Sourcetree issue since 2012.

The SSH workaround that Rizky Ariestiyansyah recommended works but another workaround is to switch to using your system's git.

This can be done by going to SourceTree -> Preferences -> Git and selecting "Use System Git".

like image 86
James McMahon Avatar answered Nov 16 '22 00:11

James McMahon


Seems there are more users get this bug, you should report this one to Atlassian.

I have advice to prevent this using SSH access, you can read how to use SSH in sourcetree here

Hope it help.

like image 38
Rizky Ariestiyansyah Avatar answered Nov 16 '22 00:11

Rizky Ariestiyansyah