mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-29 12:04:27 +00:00
48 lines
2.0 KiB
JSON
48 lines
2.0 KiB
JSON
{
|
|
"homepage": "https://git-for-windows.github.io/",
|
|
"description": "Minimal Git for Windows (MinGit) is a reduced sized package designed to support application integration (like integrated development environments, graph visualizers, etc.) where full console support (colorization, pagniation, etc.) is not needed.",
|
|
"license": "GPL-2.0-only",
|
|
"version": "2.24.0.windows.2",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.24.0.windows.2/MinGit-2.24.0.2-64-bit.zip",
|
|
"hash": "c33aec6ae68989103653ca9fb64f12cabccf6c61d0dde30c50da47fc15cf66e2"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.24.0.windows.2/MinGit-2.24.0.2-32-bit.zip",
|
|
"hash": "b7b26e87d3df9b44fee0606a9df3ca839bc444faf76c4c27bc0824a6c10e7831"
|
|
}
|
|
},
|
|
"bin": "cmd\\git.exe",
|
|
"post_install": "git config --global credential.helper manager",
|
|
"notes": [
|
|
"To get Git to recognise OpenSSH, you will need to run",
|
|
"",
|
|
"scoop install openssh",
|
|
"[environment]::setenvironmentvariable('GIT_SSH', (resolve-path (scoop which ssh)), 'USER')",
|
|
"",
|
|
"and then restart powershell."
|
|
],
|
|
"checkver": {
|
|
"url": "https://github.com/git-for-windows/git/releases/latest",
|
|
"re": "v(?<version>[\\d\\w.]+)/MinGit-(?<short>[\\d.]+).*\\.zip"
|
|
},
|
|
"env_set": {
|
|
"GIT_INSTALL_ROOT": "$dir"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/MinGit-$matchShort-64-bit.zip"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/MinGit-$matchShort-32-bit.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "https://github.com/git-for-windows/git/releases/latest",
|
|
"find": "<td>$basename<\\/td>\\s*<td>([0-9a-fA-F]+)<\\/td>"
|
|
}
|
|
}
|
|
}
|