Could not find system Git #444
-
Hi @richardreeve @soniamitchell , I've been working on series03 without any luck in pushing anything to GitHub. I can't now seem to push packages (or projects) there either. I get this error message at this point:
I have tried;
I will keep trying but not sure what else I can do. Thank you for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi @AilsaWatson - if you go to |
Beta Was this translation helpful? Give feedback.
-
Hello, I have encountered the same problem. I have set the Git executable path in both "tools > project options > Git/SVN" and "tools > global options > Git/SVN" to be the git executable file (hidden away as part of GitHub desktop so the file path is a bit longer "C:Users/.../AppData/Local/GitHubDesktop/app-3.2.3/resources/app/git/cmd/git.exe"). I am using R 4.3.0. Rstudio 2023.03.0+386. Github desktop version 3.2.3. I have uninstalled and reinstalled all. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
first, open git CMD to see your username. It is MINGW64 for me. |
Beta Was this translation helpful? Give feedback.
Hi @AilsaWatson - if you go to
Tools -> Global options
and choose thegit/svn
tab (it'll be something like that - I don't have a Windows machine), then you need to browse for the git executable - presumably inC:\Program Files\Git\bin\git.exe
, assuming that file exists? You should then restart RStudio. See if that fixes it?