在Git CLI中撤消GitHub个人访问令牌

时间:2016-11-07 05:09:32

标签: git github

我创建了一个GitHub个人访问令牌,用于Git CLI。生成和设置它工作得很好,但我给了令牌错误的权限。现在我无法更改客户端上的访问令牌。每当我尝试做某事时,它只会说:

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

存储库 存在且上游设置正确。我已经清除了所有Git配置,例如user.nameuser.email。我已经撤销了GitHub上的访问令牌。还有什么我要做的?!我该怎么做更改账户?

0 个答案:

没有答案
相关问题