How do I deploy my app with Heroku's HTTP Git Transport instead of SSH Git Transport

Issue

I need to migrate to HTTP Git transport due to the retirement of Heroku's SSH Git transport build feature in November 2021

Resolution

To migrate over to the HTTP method, reconfigure your local git remote by running the following command, using your application's name.

$ heroku git:remote -a [app_name]

You can then deploy your app using git push heroku main, or similar commands, as described in this Dev Center article.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support