-
Notifications
You must be signed in to change notification settings - Fork 106
Description
As Visual Studio Code doesn't yet support WSL Git, I'm still having to use Git for Windows alongside WSL & WSLTTY. This is fine, but the problems start if I run ./git.exe --global --config
using either of the two git.exe
files from Git for Windows. It reports the following error:
fatal: unable to read config file 'C:/Users/myuser/AppData/Local/wsltty/home/myuser/.gitconfig': No such file or directory
It's as if it thinks the wsltty install directory is the root of the filesystem and it's looking for my global git config in a non-existent home directory.
Running the same command from the same directory in Git Bash or cmd produce the correct results, which is what makes me think this is a WSLTTY issue.
To make matters weirder... when I open vscode from WSLTTY using the code .
command, it brings up an instance of vscode with the wrong git config again.