{ "version": "2.53.0", "description": "A free and open source distributed version control system.", "homepage": "https://gitforwindows.org", "license": { "identifier": "GPL-2.0-only", "url": "https://github.com/git-for-windows/git/blob/HEAD/COPYING" }, "notes": [ "To register file associations, please execute the following command:", "reg import \"$dir\\install-associations.reg\"", "", "To register the context menu entry, please execute the following command:", "reg import \"$dir\\install-context.reg\"", "", "To set Git Credential Manager Core for portable Git, please execute the following command:", "git config --global credential.helper manager" ], "architecture": { "64bit": { "url": "https://github.com/git-for-windows/git/releases/download/v2.53.0.windows.1/PortableGit-2.53.0-64-bit.7z.exe#/dl.7z", "hash": "08713a710ec91ac90de1c09f861289a3b103175f098676e5e664c04dd6c6bf23" }, "arm64": { "url": "https://github.com/git-for-windows/git/releases/download/v2.53.0.windows.1/PortableGit-2.53.0-arm64.7z.exe#/dl.7z", "hash": "dc59b7383104d57110e370638854cc1b1fd50de0fa6d293dc941f35094594298" } }, "post_install": [ "$git_path = $dir -replace '\\\\', '\\\\'", "Get-ChildItem -Path \"$bucketsdir\\$bucket\\scripts\\$app\" -Filter '*.reg' -File | ForEach-Object {", " $content = Get-Content -Path $_.FullName -Encoding utf8", " if ($global) { $content = $content -replace 'HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE' }", " $content -replace '{{git_dir}}', $git_path | Set-Content -Path \"$dir\\$($_.Name)\" -Encoding unicode", "}" ], "env_add_path": "cmd", "env_set": { "GIT_INSTALL_ROOT": "$dir" }, "bin": [ "bin\\sh.exe", "bin\\git.exe", "git-bash.exe", "usr\\bin\\gpg.exe", "usr\\bin\\gpg-agent.exe", "usr\\bin\\gpgconf.exe", "usr\\bin\\gpg-connect-agent.exe", "usr\\bin\\pinentry.exe" ], "shortcuts": [ [ "git-bash.exe", "Git\\Git Bash", "--cd-to-home" ], [ "git-cmd.exe", "Git\\Git CMD", "--cd-to-home" ], [ "cmd\\git-gui.exe", "Git\\Git GUI" ] ], "uninstaller": { "script": [ "if ($cmd -eq 'uninstall') {", " reg import \"$dir\\uninstall-context.reg\" *> $null", " reg import \"$dir\\uninstall-associations.reg\" *> $null", "}" ] }, "checkver": { "url": "https://api.github.com/repositories/23216272/releases/latest", "jsonpath": "$.assets[?(@.name =~ /Portable/i)].browser_download_url", "regex": "(?i)download/(?v?[\\d.]+windows[\\d.]+)/PortableGit-([\\d.]+)" }, "autoupdate": { "architecture": { "64bit": { "url": "https://github.com/git-for-windows/git/releases/download/$matchTag/PortableGit-$version-64-bit.7z.exe#/dl.7z" }, "arm64": { "url": "https://github.com/git-for-windows/git/releases/download/$matchTag/PortableGit-$version-arm64.7z.exe#/dl.7z" } }, "hash": { "url": "https://github.com/git-for-windows/git/releases/tag/$matchTag", "regex": "(?s)$basename.*?$sha256" } } }