So, you cannot run a dev server in WSL, as code changes made a Windows editor will not be reflected in the dev server. WSL does not trigger file handlers when the file is changed in Windows tools.
![what is git bash on windows what is git bash on windows](http://i.stack.imgur.com/ADyqO.png)
ps: $env:Path = "C:\Program Files\Git\bin $env:Path" # Make sure we get the bash that comes with git, not WSL bash
![what is git bash on windows what is git bash on windows](https://cdn.appuals.com/wp-content/uploads/2020/06/open9-10.png)
If your program depends on Git bash (and not WSL/WSL2 bash), make sure to put said Git for Windows first in your PATH, as Jon Skeet described in "USING “GIT BASH” FROM APPVEYOR", in an AppVeyor CI environment. Note: WSL will soon be replaced by WSL2, which uses an entirely new architecture that uses a real Linux kernel.
#WHAT IS GIT BASH ON WINDOWS HOW TO#
In this article, you will learn what Git Bash is and how to use it. Git Bash is an application for Microsoft Windows, allowing developers to use Git in a command-line interface. The Git for Windows is based on a POSIX compatibility layer, which has limitations: POSIX support is deprecated since Windows 8. Git is a version control system that lets developers track source code changes during software development. That is vastly different from WSL, which emulates an actual Linux distribution.ĭoes it contain some constraints that WSL doesn't have? See more in "How are msys, msys2, and msysgit related to each other?".
![what is git bash on windows what is git bash on windows](https://res.cloudinary.com/practicaldev/image/fetch/s--3x31FRfR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/l2swounx3zxxzue35y55.jpg)
Windows has a native command-line interface, Command Prompt, but to use Bash on a Windows computer, we need to download and install a program called Git Bash. Git for Windows is using the mingw-w64 project (as illustrated here) and msys2. Git Bash is an application for Microsoft Windows environments that provides an emulation layer for a Git command-line experience.