I encounter this weird situation...
I have a commit pushed to github...
then the commit disappears from git status...
how can I commit that same file to heroku?
any help would be appreciated.
1 Answer 1
First add the heroku remote to your local git.
git remote add <your heroku git url>
replace <your heroku git url> with your actual heroku git url, you can find it from settings tab of on your heroku dashboard, it looks something like this: https://git.heroku.com/app-name.git
once heroku remote is added, you can simply push the latest commit by:
git push heroku master
replace master with whatever branch you want to push, normally it is master