【问题标题】:dpl unable to push to unqualified destination: masterdpl 无法推送到不合格的目的地:master
【发布时间】:2016-07-12 17:08:58
【问题描述】:

我正在使用 travis 的 dpl cmd 推送到 azure 网站:

dpl --provider=AzureWebApps --username=$AZURE_WA_USERNAME --password=$AZURE_WA_PASSWORD --site=xxx --verbose

我收到了这个错误:

 error: unable to push to unqualified destination: master
 The destination refspec neither matches an existing ref on the remote nor
 begins with refs/, and we are unable to guess a prefix based on the source ref.

那么问题出在哪里?

【问题讨论】:

  • 您是否为您的 Web 应用设置了部署源?似乎主分支不再位于远程端。

标签: git azure continuous-integration azure-web-app-service travis-ci


【解决方案1】:

我通过以下方式解决它:

git push origin master:refs/heads/master

因为repo默认是空的...

【讨论】:

    猜你喜欢
    • 2015-04-09
    • 2011-11-24
    • 2015-07-22
    • 2020-12-03
    • 1970-01-01
    • 1970-01-01
    • 2014-04-01
    • 2013-09-11
    • 2023-03-14
    相关资源
    最近更新 更多