Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access heroku git over https behind firewalls restricting ssh

Heroku deployment works like a charm in at my home.

But my office network restricts ssh which blocks the command "git push heroku master" Is there a way to use a https url of the heroku git repository to push my app.

like image 236
Kumaresan Avatar asked Jan 09 '12 18:01

Kumaresan


People also ask

What is Heroku git URL?

In your heroku account, go to your app -> Settings. Under App Information, you'll find the heroku git url.

Is Heroku git public?

No, the code is not public. Do not confuse GIT with GITHUB. When you deploy to heroku the repository is private to the owner and the added collaborators.

How do I connect Heroku to GitHub?

Enabling GitHub Integration You can configure GitHub integration in the Deploy tab of apps in the Heroku Dashboard. To configure GitHub integration, you have to authenticate with GitHub. You only have to do this once per Heroku account. GitHub repo admin access is required for you to configure automatic GitHub deploys.


2 Answers

You can push to heroku git only through ssh.

Update(per @ryanbrainard comment): HTTP Git is now GA https://blog.heroku.com/archives/2014/12/5/http_git_now_generally_available

like image 187
Aleksandar Vucetic Avatar answered Oct 05 '22 03:10

Aleksandar Vucetic


This plugin for heroku toolbelt allows you to push over https:

https://github.com/ddollar/heroku-push

like image 38
supermethod Avatar answered Oct 05 '22 01:10

supermethod