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

后端 未结 12 1798
我寻月下人不归
我寻月下人不归 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

    For the sake of others having this issue - I landed here because I tried to get cute with how I set up a new github repository, but per the setup page credential helper doesn't work unless you clone a repository.

    "Tip: The credential helper only works when you clone an HTTPS repository URL. If you use the SSH repository URL instead, SSH keys are used for authentication. This guide offers help generating and using an SSH key pair."

提交回复
热议问题