sslss sslss - 1 year ago 119
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?

Answer Source

Please do following command then enter:

git init

After that you can git push heroku master again

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download