Solved! Here is how I solved this issue:
- Made an app on Heroku first and prepared all the codes in local_folder to push into it.
- Cloned the remote app using
heroku git:clone -a app_name
- then
cd app_name
- then copied all the codes into this folder from local_folder
- then
git add .
- then
git commit -am "initial commit"
- then
git push heroku master
- Viola!
Top comments (0)