gitlab.com/polyapp-open-source/poly@v0.0.0-20200304172929-90b164ae7520/installGitWithChoco.ps1 (about)

     1  choco install git -y -params '"/GitAndUnixToolsOnPath"'
     2  # We must make sure the tools directory is added to PATH. By default this is the correct directory
     3  # And although the above command is supposed to add it to Path, without this line golangci-lint fails
     4  $Env:Path += ";C:\Program Files\Git\usr\bin"
     5  [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)