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

sourcetree cannot properly connect to my git repository local or remote?

lukas-r8
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2023

I have just installed sourcetree on my new macbook macOS ventura (13.2),

I have a github repository that as cloned from github, and I have a ssh key to connect with my github account which seems to be working just fine from terminal,

but when I open the repository from sourcetree I get an error straight away saying 


'git log' failed with code -1:''

it cannot load even the local branch, actually it shows absolutely nothing whereas I can log commits and navigate local branches via terminal,

I tried to add an account but no ssh key is found and I have no option to select one, is there any special folder where my key should be visible for soucetree other than "~/.ssh"?

Is this a bug or am I missing anything? 

1 answer

1 vote
lukas-r8
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2023

I had to switch on "settings git tab" from "embedded Git" to "system Git" and it is working just fine now.

Just in case anyone else have the same problem in the future 😁

Massimiliano Della Ferrera
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 15, 2023

it worked for me as well. thanks a lot! you made my day, respect :D 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events