I have git installed and RStudio pointing to its installation location. the git config --global command seems to work in git bash but not in RStudio.
I'd suggest working through this guide.
That looks like RStudio can't find Git. What path to the executable did you enter in your Global Option > Git/SVN? For example, mine looks something like
C:/Program Files (x86)/Git/mingw64/bin/git.exe.
There is a particularly helpful section in the Happy Git and GitHub for the useR guide about this: Section 14.3
it actually needed: mingw32 or mingw64 in the path.
Great! Mine works both with
mingw64 in the path and without (
C:/Program Files (x86)/Git/bin/git.exe). I have it set with
mingw64 in the path but then changed it to a path without to better match the chapter I sent you to. It worked for me both ways, but will change back to the original in my other post so it is more clear.
thanks. catch you next time.
A post was split to a new topic: Windows & and git - error: cannot spawn sh -- error: cannot spawn rpostback-askpass - fatal: could not read Username
This topic has been closed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link. #11