hangxingliu / wslgit

:candy: Use Git installed in WSL(Windows Subsystem for Linux) from Windows and Visual Studio Code
GNU General Public License v3.0
150 stars 18 forks source link

Switch from bash to wsl command #3

Closed jrock2004 closed 5 years ago

jrock2004 commented 6 years ago

With the WSL command now in windows, are you eventually going to upgrade your scripts?

hangxingliu commented 6 years ago

https://github.com/hangxingliu/wslgit/blob/master/git.bat#L23

Do you means replace bash -c 'wslgit.sh %args%' to wsl -c 'wslgit.sh %args%' in the file git.bat ?


Actually, I am using this wslgit in daily work on my Windows laptop. And I didn't meet any trouble. Is there benefit after replace bash to wsl ?

jrock2004 commented 6 years ago

@hangxingliu sorry for not seeing this. There is nothing wrong, but it just updates to the command that MS recommends for interacting between each other

hangxingliu commented 6 years ago

Could you list some documents or pages about this things written by Microsoft to here, Thanks

Dormanil commented 5 years ago

Here we have A Guide to Invoking WSL and the within-mentioned Multi-Distro Documentation showing the multitude of ways to spin up WSL.

hangxingliu commented 5 years ago

@Dormanil Thanks for your reference, I will update it in recent days