install-git

command
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2023 License: OSL-3.0 Imports: 6 Imported by: 0

README

Install Git

You can use MinGit [1]. I use the "busybox" version as its smaller (19 MB), and if you want, you can actually extract just these files:

mingw64\bin\git-remote-https.exe
mingw64\bin\git.exe
mingw64\bin\libbrotlicommon.dll
mingw64\bin\libbrotlidec.dll
mingw64\bin\libcrypto-1_1-x64.dll
mingw64\bin\libcurl-4.dll
mingw64\bin\libiconv-2.dll
mingw64\bin\libidn2-0.dll
mingw64\bin\libintl-8.dll
mingw64\bin\libnghttp2-14.dll
mingw64\bin\libpcre2-8-0.dll
mingw64\bin\libssh2-1.dll
mingw64\bin\libssl-1_1-x64.dll
mingw64\bin\libssp-0.dll
mingw64\bin\libunistring-2.dll
mingw64\bin\libwinpthread-1.dll
mingw64\bin\libzstd.dll
mingw64\bin\zlib1.dll
mingw64\ssl\certs\ca-bundle.crt

and it gets down to 7 MB. It seems this has been available since at least 2016 but I only just found it. It seems they dont really advertise it, as I saw one developer say that MinGit is "intended for applications, not for interactive use". However I tested all these commands:

git add
git branch
git checkout
git clean
git clone
git commit
git config
git diff
git log
git push
git reset
git status
git tag

and it seems to work fine for me.

  1. https://github.com/git-for-windows/git/releases
  2. https://github.com/git-for-windows/git/releases/tag/v2.9.0.windows.1

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL