Receiving an error pushing from RStudio to GitHub

Viewed 118

I am trying to push from RStudio to GitHub for the first time. I received this error message:

error: cannot run rpostback-askpass: No such file or directory fatal: could not read Username for 'https://github.com': Device not configured

I originally thought I had the url wrong for the Git repository, so I created a new one and tried again. I received the same error message.

I read one suggestion that said to use the following code to correct this:

git remote rm origin

I entered this in Terminal and received the following error message:

fatal: not a git repository (or any of the parent directories): .git

I would really appreciate any suggestions for how to fix this!

0 Answers
Related