Skip to content
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

git doesn't work on windows/mingw64 #387

Closed
mattn opened this issue Nov 21, 2015 · 3 comments
Closed

git doesn't work on windows/mingw64 #387

mattn opened this issue Nov 21, 2015 · 3 comments

Comments

@mattn
Copy link

mattn commented Nov 21, 2015

I'm using msys2 git version 2.6.2 on windows10

But always display Initialize git repository in GIT pane.

@mattn
Copy link
Author

mattn commented Nov 21, 2015

I'm guessing code runs git rev-parse --show-toplevel but returns /c/ prefixed paths.

@mattn
Copy link
Author

mattn commented Nov 21, 2015

It seems bingo! When I make junction link like below.

cd C:\
mklink /J C C:\

code works fine with git.

So, vscode should convert path on msys2 into C:\ prefixed paths.

@mattn
Copy link
Author

mattn commented Nov 21, 2015

@mattn mattn closed this as completed Nov 21, 2015
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant