git 报错 remote: Check Access Error, please check your username and password

问题描述

git 将本地仓库提交远程仓库输入: git push -u origin master命令
报错:remote: Check Access Error, please check your username and password!


解决方案

打开控制面板 —> 搜索凭据 —> Windows凭据 —> 找到git相关的可以在编辑处直接修改密码,也可以删除后重新构建
在这里插入图片描述
在这里插入图片描述


命令

// 全局
// 更改用户名
$ git config --global user.name "你的用户名"

// 更改邮箱
$ git config --global user.email "你的邮箱地址"

// 更改密码
$ git config --global user.password "你的密码"

// 查看
$ git config user.name(user.email or user.password)

猜你喜欢

转载自blog.csdn.net/Robergean/article/details/124407505