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

后端 未结 6 1895
忘掉有多难
忘掉有多难 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 02:49

    The problem (could be) that you are probably used git clone --depth .. for your repository and that created so called shallow copy (without history). If you cloned somebody else repository (!), just delete /.git folder and create a recreate repository as new with

    cd /
    git init
    

    Then you can push even with remote https://.herokuapp.com/

提交回复
热议问题