我在吉特布有我自己的私人回购。我使用GitBash将其克隆到本地计算机上,意外地输入了错误的密码。然后我又试了一次
fatal: could not create work tree dir 'sample': Permission denied我试过这个命令
git config --global --unset credential.helper正如这里所描述的,Remove credentials from Git,但它没有帮助。
我试过这个命令
git credential-manager delete https://github.com正如这里描述的,Git doesn't allow me to enter my password for cloning since I got it wrong the first time,但它说“未知的命令‘删除’。请使用git-credential-manager ?显示帮助。”
我不知道如何让它忘记我输入了什么,或者再次输入凭证。
发布于 2019-09-21 08:41:51
https://stackoverflow.com/questions/58035676
复制相似问题