Heroku push via HTTPS

I'm trying to execute

git push heroku master 

But the computer on which I work has some ports, so I can not push through the remote git@heroku.com :projectname.git .

How can I click through HTTPS ? I know that this is possible, since I can clone, pull and click through HTTPS any projects.

I tried to manually change git@heroku.com :projectname.git to https://git.heroku.com/projectname.git without success.

+4
source share
2 answers

All clicks on Heroku git exceed SSH. The only way you can click is SSH and port 22.

Please note that without SSH some of the other tasks of the hero will also be impossible.

+8
source

Officially now from geroku with https git push. Just change the url in .git / config to https://git.heroku.com/projectname.git

0
source

Source: https://habr.com/ru/post/1398199/


All Articles