error: RPC failed; result=22, HTTP code = 400

后端 未结 6 1849
忘掉有多难
忘掉有多难 2021-01-02 02:26

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 reposito

6条回答
  •  被撕碎了的回忆
    2021-01-02 03:04

    This may occur due the reason that Heroku's Git doesn't understand shallow clone as mentioned here.

    Workaround is to disable shallow clone before deployment.

    git fetch --unshallow
    

提交回复
热议问题