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?
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?
You need to perform:
git add .
git commit -m "updated the header and footer"
git push heroku master
It's just a git push
git push heroku master
This was what I did to update mine.. hope it will work for you
first yo have to run dis command to check modified files
git status
Take note of the modified files (it could be a path or just a file name)
git add <file name or path>
run the above command for all the modified file and then commit
git commit -m "your message"
and now push
git push heroku master
This could be strange but I've got error with git push heroku master. However it worked as below and I've managed to update my app.
git push origin master
if you are deploying via GitHub then you will have to add,
git push origin master
and then use
git push heroku master