Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Password Keychain

micknudsen April 30, 2014

Hi,

I have just reinstalled Mac OS X Mavericks and at the same time upgraded to SourceTree v.1.9.0. One of these two things seems to have caused the following problem: Whenever I want to push changes to a GitHub repository, I am asked for my password.

I have tried suggestions such as including my username in the https address, but it doesn't work. Where does SourceTree store passwords? I have looked in my (Apple) Keychain, but there are no signs of neither SourceTree nor GitHub.

Thanks!

/Michael Knudsen

3 answers

1 accepted

0 votes
Answer accepted
micknudsen May 2, 2014

Turns out that SourceTree also supports SSH. Switched to that from HTTPS, and now everything works like a charm.

Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 4, 2014

Glad to hear it.

0 votes
micknudsen May 2, 2014

Just realized that SourceTree also supports SSH. That solved my problem. Huzzah!!!

0 votes
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 30, 2014

There should be a list of saved credentials in the authentication tab of the options dialog.

micknudsen April 30, 2014

Where do you find the options dialog? I have went through all parts of Preferences, but I haven't found anything about authenticaiton. The closest I get is an option to set my username. Here I have tried both my GitHub username and my email address, but neither works. Same problem on two different Macs.

Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 30, 2014

I use Windows, where it is simply Tools > Options... > Authentication.

I don't know where it might be on a Mac.

micknudsen April 30, 2014

Hmmm ... this is really strange. I can't find anything about authentication. Didn't expect the Mac and Windows versions to be different.

KieranA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2014

Hi Michael,

It's on the 'Network' tab in the SourceTree preferences.

Cheers

micknudsen May 1, 2014

I have looked at that one, but it only has two columns: "Host name" and "Username". There seems to be no way to also store a password.

micknudsen May 1, 2014

I am in the process of reinstalling Mac OS X on all my machines. Just tried on a machine that I haven't touched yet. Things work perfectly, also in SourceTree 1.9.0.

The problem thus appears to be related to my fresh OS installations. Maybe my machines must somehow be authorized with GitHub? I have tried uploading SSH keys but to no avail (which I would expect, since I am using HTTPS).

Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2014

Try initiating an SSH connection to GitHub in a terminal. If it asks you whether you want to accept the server's key, say 'yes', then try authenticating with SourceTree again.

micknudsen May 2, 2014

Still doesn't work. Very strange. This is probably not the right place to ask, but are there any good alternatives to SourceTree on Mac?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events