开发者

commit to heroku Git, but no changes in myapp.heroku.com

开发者 https://www.devze.com 2023-01-23 19:42 出处:网络
In the facefancheck directory, >git add . >git commit -m \"facefancheck\" >git push heroku In a random directory,

In the facefancheck directory,

>git add .
>git commit -m "facefancheck"
>git push heroku

In a random directory,

>git clone git@heroku.com:facef开发者_运维技巧ancheck.git
>cd facefancheck
>rails s

I get the thing I want in 127.0.0.1:3000, but not in facefancheck.heroku.com. So, why facefancheck.heroku.com did not run the same as git@heroku.com:facefancheck.git? Did I not update the heroku correctly from Git? Or?


Ohh, I solved it already. It is because I renamed in the web, but didn't update the local Git. So, I have to rename the name to fancheck and it works,

heroku rename fancheck

But when I switch back to facefancheck, the same problem again,

heroku rename facefancheck
0

精彩评论

暂无评论...
验证码 换一张
取 消