简体   繁体   中英

Git Extensions - Can't connect to GitHub, but it's fine using command line

Thank you very much in advance for helping!

I'm trying to pull a local repository to GitHub but for some reason Git Extensions can't connect with it. I've tried everything and I'm completely run out of ideas or places to look for a solution.

This is what I get when I push my repository using Putty (actually Puttycyg):

在此处输入图片说明

This is what I get when I try to push my repository using Git Extensions:

在此处输入图片说明

This is my remotes tab:

在此处输入图片说明

This is what I get when I click on test:

在此处输入图片说明

And finally, more stuff showing what's in my computer and in GitHub:

在此处输入图片说明

Any ideas?

Thanks!

Check what %HOME% looks like in your PowerShell session.

If you want ssh to find your keys, HOME should be set to: C:\\Users\\rafaelgp\\AppData\\Roaming , in order to find the .ssh directory in which you have your keys.

Or at least put the full path of the private key in the "PuTTY SSH private key file" field, in the "remote repositories" dialog.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM