Git提交时提示“Please make sure you have the correct access rights and the repository exists.”的解决方法

1.首先打开Git Bash设置名字和邮箱: git config --global user.name "你的名字" git config --global user.email“你的邮箱" 2.删除.SSH文件下的known_hosts(.SSH在C:\Users\Windows用户名目录下) 3.生成ssh公钥认证所需的公钥和私钥文件 ssh-keygen -t rsa -C "你的名字/你
相关文章
相关标签/搜索