Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku push via HTTPS

I'm trying to perform

git push heroku master

But the PC i am working on has some ports blocked so i can not push via [email protected]:projectname.git remote.

How can i push via HTTPS? I know it is possible since i can clone, pull and push via HTTPS any projects.

I tried to manually change [email protected]:projectname.git to https://git.heroku.com/projectname.git with no success.

like image 830
shybovycha Avatar asked Feb 22 '23 08:02

shybovycha


1 Answers

All pushes to Heroku git are over SSH. The only way you'll be able to push is over SSH and port 22.

Note that without SSH some of the other heroku tasks will be impossible also.

like image 133
Neil Middleton Avatar answered Feb 23 '23 20:02

Neil Middleton