-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get it to work #4
Comments
Are you using an old WSL Beta environment (Bash on Windows) or did you install the Linux Distribution from the Store (which is the new way since the Fall Creators Update)? If What exactly does not work in VS Code? Any errors? Does it detect the repository if you open a version controlled directory? Could you post the output of the Git console in VS Code? |
I think it's the old Beta, because it's called "Bash on Ubuntu on Windows". I'll try it with the Ubuntu Distribution from the Microsoft store. VS Code just doesn't recognize that the project has git. |
Ok. However, it won't work with the new version from the store, as they use different executables to call into the WSL environment. I haven't implemented support for them, currently. Can you post the output of the git console from VS Code? It should contain the git commands VS Code tries to run to detect the git repository, etc. |
I just reproduced this problem on Windows 10 1709 with VS Code 1.17.2. I'll take a closer look on what is going on. |
Cool. |
I just released a new version that should hopefully fix this. Please try the latest release here: |
I'll try it this evening and give you some feedback. |
JFYI: Your fix is working. |
Great, thanks for reporting back. |
Hey, I'm using Windows 10 1709 and VS Code 1.17.2.
I renamed wslgit.exe into git.exe and added it to the PATH variable.
VSCode settings
"git.enabled": true, "git.path": "C:\\Users\\<username>\\AppData\\Local\\Git\\git.exe",
I can use git with PowerShell, CMD and of course Bash for Ubuntu, but not in VS Code.
The text was updated successfully, but these errors were encountered: