error: RPC failed; result=22, HTTP code = 400
问题 I am trying to push my app on to Heroku, but I am getting this error message. I have looked around, someone mentioned about GitHub recently started redirecting http repository access to https and it appears your git is unhappy about this change. But I am having troubles pushing to heroku, any help will be much appreciated. error: RPC failed; result=22, HTTP code = 400 回答1: This may occur due the reason that Heroku's Git doesn't understand shallow clone as mentioned here. Workaround is to