问题: I have an existing Rails app on GitHub and deployed on Heroku. 我在GitHub上有一个现有的Rails应用程序并部署在Heroku上。 I'm trying to set up a new development machine and have cloned the project from my GitHub repository. 我正在尝试建立一个新的开发机器,并从我的GitHub存储库中克隆了该项目。 However, I'm confused as to how to link this folder up to Heroku. 但是,我很困惑如何将此文件夹链接到Heroku。 Originally, I used the heroku create command, but obviously I don't want to do that this time since it will create another Heroku instance. 最初,我使用了 heroku create 命令,但显然我这次不想这样做,因为它会创建另一个Heroku实例。 解决方案: 参考一: https://stackoom.com/question/LWRS/如何将文件夹与现有的Heroku应用程序链接