mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-24 23:21:34 +00:00
51 lines
1.8 KiB
JSON
51 lines
1.8 KiB
JSON
{
|
|
"homepage": "https://git-for-windows.github.io/",
|
|
"license": "GPL-2.0",
|
|
"version": "2.19.0.windows.1",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.19.0.windows.1/MinGit-2.19.0-64-bit.zip",
|
|
"hash": "424d24b5fc185a9c5488d7872262464f2facab4f1d4693ea8008196f14a3c19b"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.19.0.windows.1/MinGit-2.19.0-32-bit.zip",
|
|
"hash": "83cf018bd6f5c24e2b3088539bbeef9067fd632087d094d447a3a0ff676e7bd7"
|
|
}
|
|
},
|
|
"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>"
|
|
}
|
|
}
|
|
}
|