If you deploy v.15 to heroku which was inside your C:/app folder, but it is causing unforeseen issues. Can you just go through the typical deploy using git add .
git add -u
git commit -m "older"
etc on an older version to deploy v.13 that you backed up a few days ago?
如果将v.15部署到C:/ app文件夹中的heroku,但它会导致无法预料的问题。您是否可以使用git add进行典型部署。 git在旧版本上添加-u git commit -m“old”等,以部署几天前备份的v.13?
In this v.15 deploy, there was a new table creation - > heroku rake db:migrate as well
在这个v.15部署中,有一个新的表创建 - > heroku rake db:migrate
I'm trying to get my app working again so I want to be cautious
我想让我的应用程序再次运行,所以我要谨慎
1 个解决方案
#1
0
Yes. As long as it is a normal commit in the history of the repo, it should be just fine. That said, a better method to accomplish what you're trying to do might be to use git's cherry-pick functionality.
是。只要它是回购历史中的正常提交,它就应该没问题。也就是说,一个更好的方法来完成你想要做的事情可能是使用git的cherry-pick功能。
If you're unsure, you may wish to create a second application. You can use the new heroku fork
feature (new as of v2.36 of the Toolbelt - use heroku help fork
to get more info about it) in order to clone your app into a new app. This is a great way to creating a staging environment from an existing app.
如果您不确定,您可能希望创建第二个应用程序。您可以使用新的heroku fork功能(从Toolbelt的v2.36开始新的 - 使用heroku帮助分叉获取更多信息),以便将您的应用程序克隆到新的应用程序中。这是从现有应用程序创建登台环境的好方法。
You could use this to see how deploying your new (old?) changes would work. Hope that helps!
您可以使用它来查看如何部署新的(旧的?)更改。希望有所帮助!
#1
0
Yes. As long as it is a normal commit in the history of the repo, it should be just fine. That said, a better method to accomplish what you're trying to do might be to use git's cherry-pick functionality.
是。只要它是回购历史中的正常提交,它就应该没问题。也就是说,一个更好的方法来完成你想要做的事情可能是使用git的cherry-pick功能。
If you're unsure, you may wish to create a second application. You can use the new heroku fork
feature (new as of v2.36 of the Toolbelt - use heroku help fork
to get more info about it) in order to clone your app into a new app. This is a great way to creating a staging environment from an existing app.
如果您不确定,您可能希望创建第二个应用程序。您可以使用新的heroku fork功能(从Toolbelt的v2.36开始新的 - 使用heroku帮助分叉获取更多信息),以便将您的应用程序克隆到新的应用程序中。这是从现有应用程序创建登台环境的好方法。
You could use this to see how deploying your new (old?) changes would work. Hope that helps!
您可以使用它来查看如何部署新的(旧的?)更改。希望有所帮助!