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

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

    We had the same issue with our Azure DevOps repositories after our domain changed, i.e. from @xy.com to @xyz.com. To fix this issue, we generated a fresh personal access token with the following permissions:

    Code: read & write Packaging: read

    Then we opened the Windows Credential Manager, added a new generic windows credential with the following details:

    Internet or network address: "git:{projectname}@dev.azure.com/{projectname}" - alternatively you should use your git repository name here.
    User name: "Personal Access Token"
    Password: {The generated Personal Access Token}

    Afterwards all our git operations were working again. Hope this helps someone else!

提交回复
热议问题