Heroku Git Error

11 views
Skip to first unread message

Aaron Weisberg

unread,
Oct 2, 2017, 4:26:22 PM10/2/17
to Django users
Hi everyone,

It's a miracle I've gotten this far with the amount of knowledge that I don't have with coding, hosting, django, heroku, git etc.  However, I've been using a heroku server to serve my website for the last couple of months and I've been able to do so without any issues.

However, last week I was away from my office and i tried to make some changes to my site via a new machine, which I knew was a bad idea.  I committed one change, never pushed it using "git push heroku master" and then deleted the change using git reset


Now that I'm back in my office at my original machine, I'm having all sorts of issues and I cannot commit any changes or even hookup with git on the same page.

When I try to push to heroku master I get:
![rejected] master --> master (non-fast forward)
error: failed to push some refs to 'https://git.heroku...
Updates were rejectred because the tip of your current batch is behind its remote counterpart.  Integrate the remote changes (e.g. git pull) before pushing again

okay- well that's all well and good, but I can't perform git pull, git fetch or anything along those lines either.

I get:

Permission denied (publickey) fatal could not read from repository
Please make sure you have the correct access rights and the repository exists

Please help!

Thanks,

Aaron
Reply all
Reply to author
Forward
0 new messages