码云git clone报错Incorrect username or password ( access token )

使用码云将仓库clone到本地,报错信息以下:git

D:\123>git clone https://gitee.com/ycyzharry/helloworld.git
Cloning into 'helloworld'... remote: Incorrect username or password ( access token ) fatal: Authentication failed for 'https://gitee.com/ycyzharry/helloworld.git/'

后面继续clone时候觉得会弹出登陆窗口,结果直接提示用户名或密码错误。spa

解决办法:code

打开电脑的控制面板–>用户帐户–>凭据管理器blog

找到普通凭据git:https://gitee.com这一栏,选择编辑,填入正确的用户名和密码,最后点击保存便可。token

相关文章
相关标签/搜索