签名
$ git config --global user.name [userName]
$ git config --global user.email [userEmail]
设置 SSH Key
$ ssh-keygen -t rsa -C "your_email@example.com"
添加公开密钥
id_rsa文件是私有密钥,id_rsa.pub文件是公开密钥
位置```~/.ssh/id_rsa.pub
获取最新的远程仓库
$ git pull
enletregn 2019-11-22 19:20 原文
$ git config --global user.name [userName]
$ git config --global user.email [userEmail]
$ ssh-keygen -t rsa -C "your_email@example.com"
id_rsa文件是私有密钥,id_rsa.pub文件是公开密钥
位置```~/.ssh/id_rsa.pub
$ git pull