我正在使用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.
那么问题是什么?
答案 0 :(得分:1)
我通过以下方式解决:
git push origin master:refs/heads/master
因为默认情况下repo是空的......