- 右键选择
Git Bash Here
; - 输入命令
git config –global user.name ‘xxxxx’ git config –global user.email ‘xxx@xx.xxx’
; - 生成密钥
ssh-keygen -t rsa -C ‘输入过的邮箱’
- 去用户文件夹找到
.ssh
文件夹,其中有id_rsa
(密钥)和id_rsa.pub
(公钥)文件,选择公钥,以记事本或者写字版打开,复制文字;
Git Bash Here
;git config –global user.name ‘xxxxx’ git config –global user.email ‘xxx@xx.xxx’
;ssh-keygen -t rsa -C ‘输入过的邮箱’
.ssh
文件夹,其中有id_rsa
(密钥)和id_rsa.pub
(公钥)文件,选择公钥,以记事本或者写字版打开,复制文字;