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?
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.
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 .
You need to perform:
git add . git commit -m "updated the header and footer" git push heroku master
I hope this would help. Three steps:
git add . git commit -m "make changes" git push heroku master
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With