
上QQ阅读APP看书,第一时间看更新
Installing Git on Windows
You can install Git using Chocolatey. Open up Command Prompt or PowerShell and run this command:
choco install git
You can check to ensure that the installation was successful by running this command:
git --version
You can bypass the confirmation messages by adding a -y to the end of the install command (for example, choco install git -y). You can also opt to always skip the confirmation by entering the
choco feature enable -n allowGlobalConfirmation command.
choco feature enable -n allowGlobalConfirmation command.