ruby on rails - Failed Deploy Apps to Heroku -
i'm trying push rails apps heroku, first create heroku account , on command prompt
- git init
- git add .
- git commit -m "init"
- heroku login , push ssh
- heroku create mycvdemo
- git push heroku master
c:\sites\mycv>git push heroku master counting objects: 253, done. delta compression using 4 threads. compressing objects: 100% (228/228), done. writing objects: 8% (21/253), 208.00 kib | 3 kib/s
but i'm getting error :
c:\sites\mycv>git push heroku master counting objects: 253, done. delta compression using 4 threads. compressing objects: 100% (228/228), done. write failed: connection abortedib | 3 kib/s fatal: sha1 file '<stdout>' write error: invalid argument error: failed push refs 'git@heroku.com:mycvdemo.git'
i getting error when 8% writing object.
not sure if problem, you're missing step here:
- git init
- git add .
- git commit -m "init"
- git push origin master
- heroku login , push ssh
- heroku create mycvdemo
- git push heroku master
you can push things heroku have been pushed git. commits local. this explanation (with picture!)
Comments
Post a Comment