git提交遇见问题vue Please make sure you have the correct access rights
(1)删除.SSH文件下的所有文件(.SSH在C:\Users\Windows用户名目录下)
(2)git bash设置
git config --global user.name "你的名字"
git config --global user.email“你的邮箱"
(3)ssh-keygen -t rsa -C “你的名字/你的邮箱” 一直enter
(4).ssh文件夹下生成id_rsa和id_rsa.pub,用记事本打开id_rsa.pub,将里面的内容复制到github
(5)验证
ssh -T git@github.com
就成功了