Add Hub installation (#529)

* Hub installation has been added

* Checking and documentation updating has been created

* Canges in hub version detection code

* GIT_LFS_PATH has been removed from hub version detection

* Copy-Past has been returned

* Refactoring for separate command checking
This commit is contained in:
Andy Mishechkin
2020-03-16 10:52:13 +03:00
committed by GitHub
parent 6d40dbd2e4
commit 7584c7b879
3 changed files with 56 additions and 32 deletions

View File

@@ -8,6 +8,7 @@ Import-Module -Name ImageHelpers
# Install the latest version of Git which is bundled with Git LFS.
# See https://chocolatey.org/packages/git
choco install git -y --package-parameters="/GitAndUnixToolsOnPath /WindowsTerminal /NoShellIntegration"
choco install hub
# Disable GCM machine-wide
[Environment]::SetEnvironmentVariable("GCM_INTERACTIVE", "Never", [System.EnvironmentVariableTarget]::Machine)