remote: Incorrect username or password ( access token ) fatal: Authenticatio

在本地的git,长时间不用的情况下,再次登陆需要重新验证账户信息,如果第一输入账号或者密码错误的情况下,项目会报错:remote: Incorrect username or password ( access token ) fatal: Authenticatio。

而且以后每次的操作都是这样,也不是会再次提示重新输入正确的账号和密码。后来发现win10 下git的凭证存在windows系统中的,可以在控制面板进行更改。

第一步进入控制面板,进入用户账户

remote: Incorrect username or password ( access token ) fatal: Authenticatio

第二步选择管理Windows凭据

remote: Incorrect username or password ( access token ) fatal: Authenticatio

第三部修改普通凭据

remote: Incorrect username or password ( access token ) fatal: Authenticatio

最后对git重新操作即可。