I cannot push to Heroku git. I see an error starting with fatal:


When pushing my code to Heroku git through its HTTPS URL, I see an error like

fatal: protocol error: bad line length character: fata


fatal: unable to read...


Please reset the repository copy on Heroku using the steps here:

This will make it possible to push the code to Heroku git without the error.

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