Skip to content
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

More help with weird git installs #194

Closed
AmeliaMN opened this issue Feb 16, 2022 · 2 comments
Closed

More help with weird git installs #194

AmeliaMN opened this issue Feb 16, 2022 · 2 comments

Comments

@AmeliaMN
Copy link

I am the biggest fan of happygitwithR. It's the best. It has saved me and my students hundreds of hours of frustration. But somehow, I have found myself in a situation not described in the book. It is on Windows (duh) on the computers we have in my building. The IT folks have installed git and it's obviously not one of your preferred methods. But, I can

  • find the git.exe file
  • set the path to that executable in my RStudio global options
  • see git documentation if I type git in my RStudio terminal
  • see "version control" as an option when I am making a new project

Unfortunately, I cannot

  • use things in gitcreds, such as
gitcreds::gitcreds_set()
Error in throw(new_error("gitcreds_nogit_error")) : 
  Could not find system git

I have restarted RStudio a million times (I don't want Jenny to have to stop the car for me!!) and even tried the "I’ve seen this help" from chapter 13. No joy. Any other suggestions, or am I stuck trying to convince my IT folks to install git differently?

@jennybc
Copy link
Owner

jennybc commented Feb 22, 2022

I think this has become a gitcreds question and should probably become an issue there.

https://github.com/r-lib/gitcreds/issues

@AmeliaMN
Copy link
Author

Thanks, I should have figured out that was a better place to ask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants