我将源代码从私有git存储库中提取到我的计算机中,然后将其与本地git存储库一起推送到Azure云上的Web应用程序中。我想在没有任何中间复制过程的情况下将源代码直接提取到Azure云中。我将Azure Web应用程序出站IP地址添加到我的私有存储库的白名单中,然后将其URL保存为Azure Web应用程序的外部部署选项。
但是我无法使用Kudu控制台运行以下注释,它会给出权限错误:
git config --global user.name "<Name Surname>"
git config --global user.email <email>
export GIT_SSL_NO_VERIFY=1; git clone https://<url_of_private_git_repository>
答案 0 :(得分:0)
如果我理解正确,则您缺少远程身份验证。 看看https://docs.microsoft.com/en-us/azure/app-service-web/app-service-web-get-started-nodejs 也是包含错误的主题:Git remote and GIT_SSL_NO_VERIFY