shybovycha
shybovycha

Reputation: 12255

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.

Upvotes: 4

Views: 1965

Answers (2)

Jerry T
Jerry T

Reputation: 1690

it is official now from heroku with https git push. Just change the url in .git/config to https://git.heroku.com/projectname.git

Upvotes: 0

Neil Middleton
Neil Middleton

Reputation: 22238

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.

Upvotes: 8

Related Questions