Use Git installed in Bash on Windows/Windows Subsystem for Linux (WSL) from Windows and Visual Studio Code (VSCode)
The 1.0.1 update is a re-release of v1.0.0 which fixes a bug in the new install script (#110), it is otherwise identical to version 1.0.0.
This release improves compatibility with other tools. In the ZIP download, an install script is provided to create a directory structure similar to Git for Windows, allowing many tools to auto-detect wslgit
. Further, a proxy script to improve compatiblity with the Fork client is provided.
Detailed changelog:
Path
.Fork.RI
from WSL.ls-remote
to commands that use an interactive bash shell (#101).--
as relative paths (#102).wsl
without default shell (#107).This release improves compatibility with other tools. In the ZIP download, an install script is provided to create a directory structure similar to Git for Windows, allowing many tools to auto-detect wslgit
. Further, a proxy script to improve compatiblity with the Fork client is provided.
Detailed changelog:
Path
.Fork.RI
from WSL.ls-remote
to commands that use an interactive bash shell (#101).--
as relative paths (#102).wsl
without default shell (#107).This release changes translation of paths between Windows and WSL. All paths are now translated by the wslpath
utility. This enables the use of custom mount roots without any additional configuration for wslgit
(i.e. drive mounts like /c
work out of the box now).
There is also a new smarter default for when to use an interactive shell. This removes the need to set any environment variables for most users of wslgit
.
Detailed changelog:
WSLGIT
environment variable that is set to 1
by wslgit
and
shared to the WSL environment.wslpath
to translate paths between Windows and Linux (#12, #71).smart
for WSLGIT_USE_INTERACTIVE_SHELL
- only uses an
interactive bash shell for clone
, fetch
, pull
and push
.WSLGIT_MOUNT_ROOT
environment variable, this is handled by wslpath
now.This version fixes several issues and supports custom mount roots via a new environment variable, thanks to @carlolars.
Important: Users of wslgit-mount-at-root.exe
0.7.0 need to set the new Windows environment variable WSLGIT_MOUNT_ROOT
to /
.
WSLGIT_MOUNT_ROOT
to configure the
WSL mount root (#78).BASH_ENV
in WSLENV
environment variable (#56),
fixed by #78.rustfmt
.bash -c
now.WSLGIT_USE_INTERACTIVE_SHELL
now has higher priority than a
BASH_ENV
/WSLENV
configuration (#78).This release contains fixes to several corner cases.
Additionally, a new experimental build is provided for configurations where drives
are mounted directly at /
(i.e /c
instead of /mnt/c
) - see #42. Use the
wslgit-mount-at-root.exe
binary for this case.
--file=C:\some\path
(partial fix for #37)wslgit
in Windows. (#50)This is a larger release with several fixes and internal changes.
wslgit
without arguments (#26).\n
newlines in arguments to git (#27).wsl.exe
to call into the WSL environment.rev-parse
and remote
.