{"repo":"andy-5/wslgit","free":true,"listed":false,"github":"https://github.com/andy-5/wslgit","clone":"git clone https://github.com/andy-5/wslgit.git","description":"Use Git installed in Bash on Windows/Windows Subsystem for Linux (WSL) from Windows and Visual Studio Code (VSCode)","language":"Rust","stars":1241,"topics":["git","wsl","bash-on-windows","vscode","rust","wslgit","windows-subsystem","windows-subsystem-linux","windows-subsystem-for-linux","visual-studio-code"],"license":"MIT","category":"dev-tools","readme_excerpt":"WSLGit This project provides a small executable that forwards all arguments to git running inside Bash on Windows/Windows Subsystem for Linux (WSL). The primary reason for this tool is to make the Git plugin in Visual Studio Code (VSCode) work with the git command installed in WSL. For these two to interoperate, this tool translates paths between the Windows ( C:\\Foo\\Bar ) and Linux ( /mnt/c/Foo/Bar ) representations. Installation The latest binary release can be downloaded from the releases page. [Optional 1] Run the install.bat script as administrator . The install.bat script creates a folder structure similar to the one used by Git For Windows , and creates some useful symbolic links in the wslgit\\cmd and wslgit\\bin folders. [Optional 2] Add the wslgit\\cmd directory to your Windows Path environment variable (user or system). To change the environment variable, type Edit environment variables for your account into Start menu/Windows search and use that tool to edit Path . You may also need to install the latest Microsoft Visual C++ Redistributable for Visual Studio 2017 . WSL distributions and file systems When accessing files on the filesystem in a WSL distribution using the UNC path ( \\\\wsl$\\dist\\path or \\\\wsl.localhost\\dist\\path ) then the distribution used is extracted from the path. This means that git must be setup correctly in all distributions that you intend to access. When accessing files on the Windows filesystem or a mapped network drive the default WSL distribu","default_branch":null,"files":null,"tree":[],"storefront":"/r/andy-5","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/andy-5/wslgit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}