FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.41k stars 637 forks source link

Error loading git repository #1567

Open Dominiquini opened 10 months ago

Dominiquini commented 10 months ago

Every action on my repository trigger this error:

Command: -c color.ui=false -c core.quotepath=false -c core.pager=cat -c core.editor=: -c credential.helper=C:/Users/Rafael Dominiquini/AppData/Local/ungit/resources/app.asar/bin/credentials-helper 0 8448 origin ls-remote --tags origin

Error:

git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

OS: Windows 10 x64 UNGIT VERSION: 1.5.24

Thanks

campersau commented 10 months ago

Maybe some of these answers help: https://stackoverflow.com/a/12940681 Do you know if that happend with older versions of ungit? What is your git version? Do you receive the same error when using the git cli?

Dominiquini commented 10 months ago

I found the problem! The ssh-agent is not working on my computer... After I fixed this, the ungit works fine.

But I still don't think this error makes any sense! Other git GUIs ask for the password everytime I interact with the server!

Thanks.