failed to push some refs to git@heroku.com

Try using

git push heroku main

instead of

git push heroku master

Reason: Because the default starting branch of git has been changed from master to main, that’s why your git command is not recognizing the master branch and giving you a “ref” error.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)