Hi Stephen,
Sorry again for the delay on a response for this. We've been trying to reproduce your issue on side with no success yet.
A few more questions for you:
-
How are your students telling git who they are? What commands are they running? Is it something like this:
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
or are they doing something else?
-
When your students create new projects, are they creating projects with existing git repositories in hand? That is, are they using the "Create Project from Git" functionality in RStudio Cloud? Or are they setting the repositories up after the fact?
RE: the errors you shared before:
git push window:
error: unable to read askpass response from 'rpostback-askpass'
fatal: could not read Username for "https://github.com": No such device or address
This is known to occur if a user cancels out of the username/password prompt that the IDE brings up. Is that what happened there?
And:
fatal: unable to auto-detect email address (got 'rstudio-user@application-5934149-deployment-13603720-g4bn8.(none)' (still observed after multiple attempts to input git identity)
This was probably caused by the bug that has since been fixed for projects created after March 30th. Are your students still seeing this error for projects created in the last week? If so, can you please send us a link to the projects that exhibit this behavior so we can check them out?
For older projects that are still experiencing the "unable to push" issue, it might be that the git configuration is missing a step. Here are some commands that should help bring the config your students set up manually into the same shape as what a new project would get:
git config --global credential.helper 'cache --timeout 43200'
This is a bit of a long shot since we're not able to reproduce the issues your students are encountering, but maybe it will help.
Thank you so much for all of your time and patience while we figure this out. I hope the road is smoother for your students' Github integrations soon.
Mel