Issues cloning from Github

前端 未结 2 400
余生分开走
余生分开走 2021-01-16 14:09

I\'m getting this strange error message when trying to clone or pull from git. The strange thing is that me and a colleague previously had no issues with this. We then got

相关标签:
2条回答
  • 2021-01-16 14:28

    I had this exact issue and couldn't find a good answer for it originally. After much head banging on desk, it was pretty simple for me - I was running an older git client.

    • my server that I was using git to do deploys onto, was running git 1.7.1 (default distribution for Centos6 at time of writing)
    • git is now up to 1.7.12
    • clearly some of my other clients had committed using features not backwards compatible.

    I did an upgrade of the git client on the server. Problems went away. Hope that helps someone with the same issue.

    (For the record, Installing git from source on Centos6 was v.helpful)

    0 讨论(0)
  • 2021-01-16 14:41

    This ended up being a strange error with the git client, I re-installed and everything worked fine after that.

    0 讨论(0)
提交回复
热议问题