git-upload-pack: command not found

后端 未结 5 775
孤城傲影
孤城傲影 2020-12-25 13:19

I\'ve read this answer about eight-five times, but there\'s something I\'m not understanding correctly:

git-upload-pack: command not found, how to fix this correctly

5条回答
  •  心在旅途
    2020-12-25 13:35

    I was getting the following errors: git-credential-osxkeychain died of signal 11 When I was doing git pull, I would get fatal: https://github.com/.../../info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?

    I am guessing it had to do with my previous invalid github credentials in the keychain.

    • Opened keychain access tool using Command space
    • searched for github in the keychain access tool
    • removed all the entries related to github (since I no longer needed it)
    • followed the setup git password caching section again setup git
    • it worked

    Incase any of the above answers does not help.

提交回复
热议问题