permission denied (publickey) Error using git on windows 7

后端 未结 15 1975
暖寄归人
暖寄归人 2021-01-29 22:35

When I want to push to github with this command

git push origin master

I got this

Permission denied (publickey).
fatal: The rem         


        
15条回答
  •  遇见更好的自我
    2021-01-29 22:56

    If you have already generated the key, and it has a default name, the problem might be in the absent environment variable.

    On Windows 7 right click "My computer" and go to properties. There click on advanced properties and click the button Environment Variables. There add a user environment variable

    Name: HOME 
    Value: %USERPROFILE%
    

提交回复
热议问题