git 烂笔头

数据库116
触类旁通, 举一反三, 不求甚解, 欢迎补充

详细介绍

git connect github

```shell

1. 本地配置, 姓名和邮箱

git config --global user.name ""
git config --global user.email ""

2. 生成 ssh 公钥

ssh-keygen -t rsa -C ""

2.2 Eenter 回车三次

2.3 根据提示复制 id_rsa.pub 内容

2.4 github.com 打开 [Account settings]--[SSH Keys]页面,然后点[Add SSH Key]

3. 验证, 成功会提示 successfully

输入验证码查看隐藏内容

扫描二维码关注本站微信公众号 Johngo学长
或者在微信里搜索 Johngo学长
回复 svip 获取验证码
wechat Johngo学长