
5

git 连接github.com 并配置密钥
source link: https://segmentfault.com/a/1190000040434951
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

git 连接github.com 并配置密钥
发布于 10 分钟前
git 连接github.com 并配置密钥
传送门:http://www.jianshu.com/p/ff10...
#备份ssh
cd ~/.ssh
$ ls
$ mkdir key_backup //创建备份文件夹
$ cp id_rsa* key_backup //移动你的 key 文件到备份文件夹
$ rm id_rsa*
$ ssh-keygen -t rsa -C "y[email protected]m"
打开你生成的id_rsa.pub文件,将内容上传github.com, 用户中心的ssh key
ssh -T [email protected]
$git config --global user.name "your real name"
$git config --global user.email "x[email protected]m"
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK