Heroku:如何克隆或创建团队应用程序?
我已经在Heroku中创建了一个团队,现在我想从cli在该团队中创建一个应用程序,但似乎没有与团队相关的cli标志。 我基本上希望有这样的东西:Heroku:如何克隆或创建团队应用程序?,heroku,heroku-toolbelt,Heroku,Heroku Toolbelt,我已经在Heroku中创建了一个团队,现在我想从cli在该团队中创建一个应用程序,但似乎没有与团队相关的cli标志。 我基本上希望有这样的东西: heroku create myteamapp --org myteam 我也可以在在线仪表板中创建应用程序,但当我这样做并克隆应用程序时,由于某种原因我无法推送。我所做的(我为假名字提供了名字): 当我运行heroku应用程序--org myteam时,会列出该应用程序 heroku info返回的信息似乎有效,Git URL与远程URL匹配,区域
heroku create myteamapp --org myteam
我也可以在在线仪表板中创建应用程序,但当我这样做并克隆应用程序时,由于某种原因我无法推送。我所做的(我为假名字提供了名字):
当我运行heroku应用程序--org myteam时,会列出该应用程序heroku info
返回的信息似乎有效,Git URL
与远程URL匹配,区域为eu,我在在线仪表板中配置。
我的用户在该应用程序的在线仪表板的访问部分被列为admin
以下文件中没有与团队相关的文档:
- devcenter.heroku.com/articles/creating-apps
- devcenter.heroku.com/articles/git-clone-heroku-app
- devcenter.heroku.com/articles/heroku-teams
-o
或-org
作为指定组织的标志。
我在尝试之后所犯的错误,让我困惑于与git相关的地方;我还没有任何承诺
$ git:clone -a myteamapp
Cloning into 'myteamapp'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.
$ git remote -v
heroku https://git.heroku.com/myteamapp.git (fetch)
heroku https://git.heroku.com/myteamapp.git (push)
$ git push heroku master
error: src refspec master does not match any.
error: failed to push some refs to 'https://git.heroku.com/myteamapp.git'