node.js - Heroku deployment, git remote not added -


i'm new heroku, trying follow "getting started nodejs tutorial" , got stuck @ "deploy app" stage.

when run "heroku create" not "git remote heroku added". realized missing after trying "git push heroku master" step , getting "fatal: not git repository (or of parent directories): .git". did wrong?

please following command enter:

git init 

after can git push heroku master again


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -