I'm trying to push my files to my GitHub, but I'm getting the following error:
error: cannot run rpostback-askpass: No such file or directory
fatal: could not read Username for 'https://github.com': Device not configured
I'm using MAC
I'm linking my project to GitHub with HTTP protocole
I ran git config --global user.name and user.mail in the terminal
I tried to use the solution of running git push -u origin main and when I type in my credentials it gives me the error "authentication failed". I never changed my password to GitHub, I checked it today to enter the website, it works.
I tried using ssh protocol instead but it seems to be giving me even more errors even though I created my ssh key and added it successfully to my GitHub.
Specifically when I click on create new project and add the ssh link Rstudio says:
> Cloning into 'data-science-hw'...
> ssh_askpass: exec(rpostback-askpass): No such file or directory
> Host key verification failed.
> fatal: Could not read from remote repository.
> Please make sure you have the correct access rights
> and the repository exists.
I went through all the possible suggestions I could find on the internet but none of them worked.
I would be very happy if anybody has any idea what else I could try..