✅ 操作成功!

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

发布时间:2023-06-17 作者:admin 来源:文学

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

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)
👁️ 阅读量:0