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.

  • Difference between git pull and git pull origin master
  • How to use git for managing several projects?
  • git add command staging unexpected extra files
  • How to update my git working copy to a previous revision
  • Ignore all files with the same name in git
  • Git error in Windows 7: git did not exit cleanly (exit code 128)
  • Avoid re-entering password for each submodule
  • AWS CodeCommit HTTPS access without setting up credential helper
  • Git ignore a specific file in Eclipse
  • Git warnings when certain files have changed
  • Merge changes when a file on a branch has split into two files on the master
  • Plastic SCM - Ignore directory on repository on initial sync to new workspace
  • 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.