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.

  • Enable edit mode in 3-way diff using sublimerge
  • How to import a Bitbucket project into Github on Windows
  • Remove file from Git without deleting them locally and remotely
  • Managing two ssh keys
  • Github: error cloning my private repository
  • How can I know which commit was used when installing a pip package from git?
  • How to combine multiple commits in to one without losing history
  • Are there any differences between creating a branch based on branch foo or bar if they point to the same commit in Git?
  • Cant commit after starting a merge in Sourcetree
  • please help me understand gitolite users
  • What does “checkout head” do?
  • “src refspec does not match” and “failed to push some refs” errors on git push
  • 4 Solutions collect form web for “How to access heroku git over https behind firewalls restricting ssh”

    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

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

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

    Heroku now supports GIT over HTTP (this is a beta feature). Check https://devcenter.heroku.com/articles/http-git. https://git.heroku.com/{app-name}.git will be the URL for your repo.

    Heroku now has full HTTP Git support and is the default option for new apps. If you want to change an existing app from SSH Git to HTTP Git, run:

    $ heroku git:remote
    

    and then push like normal:

    $ git push heroku master
    

    For details, see the documentation.

    Git Baby is a git and github fan, let's start git clone.