mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			48 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "2.51.2",
 | 
						|
    "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.",
 | 
						|
    "homepage": "https://git-for-windows.github.io/",
 | 
						|
    "license": "GPL-2.0-only",
 | 
						|
    "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."
 | 
						|
    ],
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://github.com/git-for-windows/git/releases/download/v2.51.2.windows.1/MinGit-2.51.2-64-bit.zip",
 | 
						|
            "hash": "8f0a7bc389c0bccc9daf6107cff4efb176348e34b8d787f02a36679a5588e072"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "https://github.com/git-for-windows/git/releases/download/v2.51.2.windows.1/MinGit-2.51.2-32-bit.zip",
 | 
						|
            "hash": "7ccaecf25ad5bcdacd50a162b8de798638dda1c0fc4f4893bbd90867a8a57279"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "bin": "cmd\\git.exe",
 | 
						|
    "env_set": {
 | 
						|
        "GIT_INSTALL_ROOT": "$dir"
 | 
						|
    },
 | 
						|
    "checkver": {
 | 
						|
        "url": "https://api.github.com/repositories/23216272/releases/latest",
 | 
						|
        "jsonpath": "$..browser_download_url",
 | 
						|
        "regex": "download/v(?<tag>[\\d.]+windows\\.\\d)/MinGit-([\\d.]+)-64"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://github.com/git-for-windows/git/releases/download/v$matchTag/MinGit-$version-64-bit.zip"
 | 
						|
            },
 | 
						|
            "32bit": {
 | 
						|
                "url": "https://github.com/git-for-windows/git/releases/download/v$matchTag/MinGit-$version-32-bit.zip"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "hash": {
 | 
						|
            "url": "https://github.com/git-for-windows/git/releases/tag/v$matchTag",
 | 
						|
            "regex": "(?s)$basename.*?$sha256"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |