r-lib / gitcreds

Query git credentials from R
https://gitcreds.r-lib.org/
Other
27 stars 10 forks source link

Can not register github token #31

Closed Dobrokhotov1989 closed 3 years ago

Dobrokhotov1989 commented 3 years ago

When I'm trying to register github tocken, I get the following error. How should I deal with it?

gitcreds::gitcreds_set()
#>Error in throw(new_error("gitcreds_nogit_error")) : 
#>  Could not find system git
gaborcsardi commented 3 years ago

You need to install git to use gitcreds. Do you have git installed? Is it on the PATH?

Dobrokhotov1989 commented 3 years ago

Thank you for the prompt reply. Git was not on the PATH. I've added it and now it works.