sslss sslss - 3 months ago 9x
Node.js Question

Heroku deployment, git remote not added

I'm new to Heroku, trying to follow the "Getting Started with NodeJS tutorial" and I got stuck at the "Deploy your App" stage.

When I run "heroku create" I do not get "Git remote heroku added". I realized it was missing after trying the "git push heroku master" step and getting "fatal: Not a git repository (or any of the parent directories): .git". What did I do wrong?


Please do following command then enter:

git init

After that you can git push heroku master again