git: 'credential-cache' is not a git command

后端 未结 12 1825
我寻月下人不归
我寻月下人不归 2020-11-28 00:42

I followed these instructions to the letter, including the part about password caching. It seems like the instructions are wrong, because every time I git push origin

12条回答
  •  醉话见心
    2020-11-28 00:49

    First find the version you are using for GIT.

    using this command : git --version

    if you have a newer version than 1.7.10.

    Then simply use this this command.

    Windows:

    git config --global credential.helper wincred
    

    MAC

    git config --global credential.helper osxkeychain
    

    Reference

提交回复
热议问题