I work on IntelliJ-idea on Windows 7. I want to work on my program in the command line - git bash, but I get errors I tried to do pull then I got this error
$ git pull
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I saw a solution in Git - Permission denied (publickey) but they don't wrote about windows.
when I do push I asked about passphrase but when I write it I get an error
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I have the correct access because I can do pull, push.. from the folder (right click TortoiseGit..)
please your help thank you
So, there is no ssh publickey generated. You must generate and register your rsa keys for github. Follow official guide.