#配置
git config --global user.name "用户名或者用户ID"
git config --global user.email 邮箱
#这里需要安装相应ssh客户端
ssh-keygen -C 'you email address@gmail.com' -t rsa
#验证公钥
ssh -v git@github.com
#配置
git config --global user.name "用户名或者用户ID"
git config --global user.email 邮箱
#这里需要安装相应ssh客户端
ssh-keygen -C 'you email address@gmail.com' -t rsa
#验证公钥
ssh -v git@github.com