I have a RStudio (ver 1.1.414) project in a server whose path is of the UNC form
//server/path/project
I would like to create a git path to this path and use it via RStudio.
However, if a create a git repository via Tools->Project Options->Git/SVN->Version control system: git, the repository does not point to the above server path, but to Windows 7 path C:\Windows (!). I even accidentally created git repository to C:\Windows, but removed it.
Interestingly enough, if I try to do from RStudio Git -> (cogwheel icon) Settings -> Shell.., it goes to correct project path. But even if I did git init from the shell, RStudio did not change its git path from C:\Windows\ to the correct project path.
Seems like the path is correct for the commands behind the git (cogwheel) settings menu, because invoking Ignore command created file .gitignore into the correct project path.
But behind the Git menu, all the paths point to the wrong path.
The problem was first observed with RStudio version 1.0.153, but same problem was also in version 1.1.414: Tools->Project Options->Git/SVN->Version control system: git created repository to C:\Windows.
The same problem (with images) is described in StackOverflow.