我一直在关注 https://github.com/opentok/learning-opentok-ios/tree/basics.step-7尝试使用 OpenTok SDK 使视频应用程序在 iOS 上运行。
我已经使用 https://dashboard.heroku.com/new?template=https%3A%2F%2Fgithub.com%2Fopentok%2Flearning-opentok-php&button-url=https%3A%2F%2Fgithub.com%2Fopentok%2Flearning-opentok-php 发布了一个名为 dongu 的应用程序.我以为 git URL 是 git@heroku.com:dongu.git,但是它不起作用。
Error log:
News-MacBook-Pro:Dongu michaelnares$ git remote add heroku git@heroku.com:dongu.git
News-MacBook-Pro:Dongu michaelnares$ git add --all
News-MacBook-Pro:Dongu michaelnares$ git push heroku master
error: src refspec master does not match any.
error: failed to push some refs to 'git@heroku.com:dongu.git'
News-MacBook-Pro:Dongu michaelnares$ git heroku git:remote -a dongu
git: 'heroku' is not a git command. See 'git --help'.
Did you mean this?
checkout
我只想将一个简单的 HTML 文件添加到我的 Heroku 应用程序,但是我找不到要从中推送到 master 的 URL。有什么办法可以查出来吗?
最佳答案
尝试
heroku git:remote -a dongu
然后
git push heroku master
关于ios - 找不到 Heroku 存储库的 URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30811927/