Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to update application on heroku

I am new to heroku. I created a very simple rails app, and deployed it to heroku.

how can I commit the changes to git?

like image 203
Oded Harth Avatar asked Mar 02 '11 16:03

Oded Harth


People also ask

How do I push local changes to heroku?

To deploy your app to Heroku, use the git push command to push the code from your local repository's main branch to your heroku remote. For example: $ git push heroku main Initializing repository, done.

How do I change the app name in heroku terminal?

If you want to rename your app, run heroku apps:rename [newname] in the app folder and swap out newname with the name that you want to change to. You can also see a complete list of Heroku apps that you're a creator or contributor to by running heroku apps .


2 Answers

You need to perform:

git add . git commit -m "updated the header and footer" git push heroku master 
like image 114
Kevin Sylvestre Avatar answered Oct 08 '22 22:10

Kevin Sylvestre


I hope this would help. Three steps:

git add .     git commit -m "make changes"     git push heroku master 
like image 38
Himang Avatar answered Oct 09 '22 00:10

Himang