From CLI, I can push/pull to git. However, from Rsudio, I'm only able to pull but not to push. I have opened my firewall for ssh/https ports but I'm still getting the following error when trying to push:
error: unable to read askpass response from 'rpostback-askpass'
fatal: could not read Username for 'https://github.com': No such device or address
Rstudio Version 0.99.484.
The problem is in the latest https authentication in RStudio. (As explained in this post)
The solution is to switch the repository URL from https to ssh by editing the repository's config in your project: .git/config
Then, don't forget to setup public keys on github (Your Profile->Settings->SSH Keys as explained here)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With