Differences between Git-scm, msysGit & Git for Windows -
what difference between git-scm (downloaded git-scm.com) , msysgit (hosted on google code, github, , others)? both seem pretty similar, , though have git-scm, have applied fixes specified msysgit , seem work fine.
also, one, if either, git windows, , both called git bash, or both have git bash shell, or 1 of two?
the website git-scm.com official website git, version control software. there no “git-scm”, that’s url of source control management (scm) software—the name git. written linux, original git software available source doesn’t compile on windows.
if interested in installing git on windows, can stop reading here , download windows build from official website.
git windows
git windows project dedicated building native builds of git windows. windows releases available download on official git website, come 32-bit , 64-bit builds.
git windows built on top of msys2 (a part of mingw) provides minimal unix-like shell environment used run components of git not written in native code (a lot of git written shell scripts). in order build git msys2, project group has special “git windows sdk” whole build environment needed build git on windows, , comes with everything need start working on git itself.
the project maintains own fork of git kept date original git project contains set of patches necessary build on windows. git windows releases released short delay after official version released (although versions skipped).
msysgit
prior git version 2, git windows binaries released project called msysgit, predecessor of git windows project. project retired on august 18, 2015 in favor launch git windows project rebuilt git windows sdk development environment. new project started same team.
while many people thought of msysgit name of git binaries, name of development environment created. based on msys, older , kind-of outdated version before msys2 started fresh. bad state of msys 1 of reasons why git windows project started revamped build environment.
the project released 3 things: msysgit, git windows, , portable git windows. msysgit installer install , set development environment required build git on windows, git windows sdk now. git windows installer install git on windows machine, , portable git windows binaries wouldn’t have install. note releases released “preview” builds, meaning not supported releases. despite that, project mature , releases stable , de-facto best way set git on windows.
git bash
as mentioned above, lot of git written shell scripts. in order execute scripts, git windows uses bash comes bundled msys2 (so bash works interpreter it).
git bash commonly refers shortcut git windows installer creates. launches full featured console window running bash, can use git set of common command line tools or unix programs (like less, awk, grep, or text editor vim). less experienced users, git bash common way interact git, although use more windows-centric environments powershell.
starting git version 2, git bash default launch in mintty, terminal emulator comes msys2, making usable users not accustomed console experience.
it’s useful know git bash work if decided not add git executables path during setup of git windows. however, personal recommendation add git executable (just git executable, choosing option “use git windows command prompt” during setup) path. way, can work git other shells (cmd.exe or powershell), , other programs can access (e.g. many libraries or ide integrations expect git executable in path interact git repositories).
Comments
Post a Comment