You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you really want to use msys2's git, try following.
Write git-wrap.bat for git.exe
@echooffsetlocalrem If you don't add path for msys2 into %PATH%, enable following line.rem set PATH=c:\msys64\usr\bin;%PATH%if"%1"equ"rev-parse"goto rev_parse
git %*goto :eof
:rev_parsefor /f %%1 in ('git %*') do cygpath -w %%1
Put this git-wrap.bat into somewhere.
Set git.path for git-wrap.bat
open File -> Preferences -> User Settings, And add git.path pointed git-wrap.bat on your configuration file like below.
"git.path": "c:/users/mattn/bin/git-wrap.bat",
Restart vscode
Have fun!
The text was updated successfully, but these errors were encountered:
As I filed issue ago, vscode can't work with msys2's git. Because git provided on msys2 return
/c/
prefixed-path for rev-parse command.#387
If you really want to use msys2's git, try following.
Write git-wrap.bat for git.exe
Put this git-wrap.bat into somewhere.
Set
git.path
for git-wrap.batopen
File
->Preferences
->User Settings
, And addgit.path
pointedgit-wrap.bat
on your configuration file like below.Restart vscode
Have fun!
The text was updated successfully, but these errors were encountered: