【发布时间】:2013-01-18 00:43:10
【问题描述】:
我是新手,我想将一个应用从 github 克隆到 heroku。我试过这个命令
heroku git:clone git@github.com:[Creator]/[APPname].git [HerokuappDirectory]
但我得到Resource Not Found。
【问题讨论】:
标签: heroku github push git-clone
我是新手,我想将一个应用从 github 克隆到 heroku。我试过这个命令
heroku git:clone git@github.com:[Creator]/[APPname].git [HerokuappDirectory]
但我得到Resource Not Found。
【问题讨论】:
标签: heroku github push git-clone
使用 git clone git@github... 像往常一样克隆 repo。然后 cd 进入目录并运行 heroku create [an optional app name] 。然后,您将设置两个 Git 遥控器,一个用于 repo(原点),一个用于 heroku 应用程序(heroku)。然后'git push heroku master'将部署到heroku。
【讨论】: