检测Git
Start-BitsTransfer : HTTP 状态 503: 服务暂时超负荷。
所在位置 行:77 字符: 2
Start-BitsTransfer -Source $GitURL -Destination “.\git.zip”
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (🙂 [Start-BitsTransfer],Exception
+ FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBits
TransferCommand
使用“2”个参数调用“ExtractToDirectory”时发生异常:“未能找到文件“C:\Nijuu\DICE\git.zip”。”
所在位置 行:33 字符: 3
+ [System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (🙂 [], MethodInvocationException
+ FullyQualifiedErrorId : FileNotFoundException
Remove-Item : 找不到路径“C:\Nijuu\DICE\git.zip”,因为该路径不存在。
所在位置 行:79 字符: 2
+ Remove-Item “.\git.zip”
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Nijuu\DICE\git.zip:String) [Remove-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
无法加载Git!