简体   繁体   中英

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 git@heroku.com: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 git@heroku.com:projectname.git to https://git.heroku.com/projectname.git with no success.

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM