Heroku通过HTTPS推送 [英] Heroku push via HTTPS
问题描述
我试图执行
git push heroku master
但是我正在使用的PC有一些端口被阻塞,所以我不能通过<$ c $ push
c> git@heroku.com:projectname.git 远程。
如何通过 HTTPS 进行推送?我知道这是可能的,因为我可以通过HTTPS克隆,拉取和推送任何项目。
我试图手动更改 git@heroku.com: projectname.git
到 https://git.heroku.com/projectname.git
没有成功。
所有推送到Heroku git都通过SSH。注意,如果没有SSH,一些其他的heroku任务也是不可能的。
>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.
这篇关于Heroku通过HTTPS推送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!