-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rstudio: error when pushing to github #104
Comments
Hi @Melsteroni, @jules32, @katlongo, @jafflerbach, If you're using the latest version of RStudio (eg version 0.98.501) on Mac or Linux, you're probably getting this error when pushing commits within RStudio to github:
In the GUI, this looks like this: There's a problem with the latest https authentication using RStudio. This is not actually a problem with git or storing your username password, since the following works from Terminal: cd ~/[github_dir]/[repo]
git push So the solution to get RStudio to play nicely again is to switch the repository URL from https to ssh by editing the repository's config. Since it's in a hidden folder (prefixed with pico ~/[github_dir]/[repo]/.git/config Then you'll want to comment out the https and use the alternative ssh address that begins with git to look like:
Note that in the above example you'll want to switch to out: Apologies for the hassle, but it's actually quick to fix. Then you're back to being smooth operators (cue Sade 🎶). PS I've logged this in the ohiprep/wiki/Using GitHub page, where I've also updated help on Resolving Conflicts . |
Have same problem with ssh. My repo is also private so does not connect when I change to ssh. |
Hi there, We've been able to solve the problem when we have encountered it and have written up the following instructions (we wrote this for our Ocean Health Index project, but the solution is obviously relevant far beyond our project). Instructions are in our Ocean Health Index Manual, in the rpostback-askpass error section.
|
|
When pushing commits within RStudio to github, getting this error:
The text was updated successfully, but these errors were encountered: