Git bash uses different home directory in RStudio on Windows

Continuing the discussion from Git bash uses different home directory in RStudio 2022.12.0 on Windows:

We need a fix for this. Basic Git workflows use a ~/.ssh/ folder. For all other applications on my computer, this (~/.ssh/) points to C:/Users/godom. For a Terminal window in RStudio, this points to C:/Users/godom/Documents, and I have found no way to change this.

2 Likes

@Bartek_Chrol, did you find a workaround?

Not really, I started to use Git in separate terminal instead of that inside RStudio.

I have had the same issue. I tested the latest Version: 2023.03.0+386 release, and still no resolution for git bash terminal (working in project directory and trying to connect to remote with ssh). This really needs a fix.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.