Is there any accepted and safe way to store Github credentials in an RStudio Cloud session? I'm pretty lazy and am growing fatigued of retyping my Github creds when I push to github. However, I know all project files are publicly readable, so I'm not sure if there's a safe way to accomplish this.
yeah I was suspicious that meant there was currently no good way to do this.... but I wanted to ask before assuming that was the case.
It's possible to cache your git credentials in memory. By default git caches credentials for https requests for 15 minutes. See https://rstudio.cloud/learn/guide#gitDetails for more details (bottom of the page).
great tip. The example of extending git credential caching is exactly what I need:
git config --global credential.helper 'cache --timeout 3600'