GIT,lease make sure you have the correct access rights

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

 

GIT,lease make sure you have the correct access rights

上一篇:数据库的备份


下一篇:Jmeter对数据库批量增删改查