nomadsurfer.blogg.se

What is git bash on windows
What is git bash on windows










what is git bash on windows

In the short term it would be easier to use something familiar like bash. If I were a Mac person trying to adapt to Windows. And updating PowerShell usually requires admin privilege depending on the version, you may also need to update the. One thing to be aware of is that some of the nicer PowerShell features may require you to update your version of PowerShell - the version bundled with Windows is typically a few years old. I'd compare it to Perl on UNIX/Linux systems - much more powerful than the standard shell, but not necessarily something I'd want to use at the command line. PowerShell is more of a scripting environment. It is much less capable than most POSIX shells for example, it did not until relatively recently support an if/then/else construct, and it does not support shell functions or aliases (although there are some workarounds for these limitations). The Windows command prompt runs the default Windows shell, CMD.EXE, which is a derivative of the old MS-DOS command shell, COMMAND.COM. The Git installer will create a shortcut to launch this "private" version of bash, hence "git bash".

what is git bash on windows

#What is git bash on windows install#

Git is bundled with a number of POSIX (UNIX/Linux/etc.) utilities in addition to bash in order to avoid "collisions" with similarly named Windows commands, the most common installation option is to install bash in such a way that the other POSIX commands are only available when running bash. It is not the default shell on Windows, although several implementations exist (CygWin, MinGW. Git bash is bash, which is IIRC also the default shell on MacOS.












What is git bash on windows