首页 > 数据库技术 > 详细

GIT,lease make sure you have the correct access rights

时间:2020-10-19 09:48:40      阅读:42      评论:0      收藏:0      [点我收藏+]

1、改邮箱

git config --global user.name "git名称"

git config --global user.email“邮箱@email.com"

 

2、删除.ssh文件夹(直接搜索该文件夹)下的known_hosts

 

3、git输入命令

$ ssh-keygen -t rsa -C "邮箱@email.com"

 

接着出现:

Generating public/private rsa key pair.

Enter file in which to save the key (/Users/your_user_directory/.ssh/id_rsa):

 

一路按下回车

 

会生成id_rsa和id_rsa.pub,复制pub的到git上去

 技术分享图片

 

GIT,lease make sure you have the correct access rights

原文:https://www.cnblogs.com/cpas-3-org/p/13838055.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!