-
git init
-
git add .
-
git commit -m "initial commit"
-
heroku create fooName
-
git remote -v
-
heroku git:remote -a fooName
-
git push heroku master
-
открываем fooname.herokuapp.com
#после изменений
- git add .
- git commit -m "comment"
- git push heroku master
#если вошли с другого компа
- git clone git://fooName
- cd fooName
- git add .
- git commit -m ""
- heroku git:remote -a fooName
- git push heroku master
#обновить измененный репозиторий
- git pull heroku master