gitcreds
gitcreds copied to clipboard
git[hub] credentials do not persist across RStudio/Positron sessions (Windows machine)
When I open a fresh Positron or RStudio session and run gitcreds::gitcreds_get(), I get
Error in `throw()`:
! Could not find any credentials
Hide Traceback
▆
1. └─gitcreds::gitcreds_get()
2. └─gitcreds::gitcreds_parse_output(out, url)
3. └─gitcreds (local) throw(new_error("gitcreds_no_credentials", url = url))
So, I generate a new PAT on github.com, then use gitcreds::gitcreds_set() and then call gitcreds::gitcreds_get() and get
<gitcreds>
protocol: https
host : github.com
username: math-mcshane
password: <-- hidden -->
When I start a fresh Positron or RStudio session, I re-run gitcreds::gitcreds_get() and once again get
Error in `throw()`:
! Could not find any credentials
Hide Traceback
▆
1. └─gitcreds::gitcreds_get()
2. └─gitcreds::gitcreds_parse_output(out, url)
3. └─gitcreds (local) throw(new_error("gitcreds_no_credentials", url = url))
I've also tried using Windows credential manager and have set this multiple times:
FWIW,
Sys.info()
sysname release version nodename machine login user
"Windows" "10 x64" "build 26100" "MCSHANE-UOFC" "x86-64" "rmcshane" "rmcshane"
effective_user udomain
"rmcshane" "ADLOCAL"
And gitcreds 0.1.2