PowerShell Get-AzureWebSiteJob error: "git not found"

PowerShell Get-AzureWebSiteJob error: "git not found"

我在 Azure PowerShell 0.8.15.1 中,在 AzureServiceManagement 模式下,尝试 运行 Get-AzureWebJob。如果我键入不带参数的命令,希望系统提示输入 -Name and/or -JobName,我会得到:

"Git not found. Please install git and place it in your command line path."

我没有使用 git。为什么会出现此错误?

GitHub 上的代码来看,该 cmdlet 似乎正在尝试使用 Azure 网站 git 集成来推断网站名称。显然他们假设每个人都会安装 git。