为git创建全局name和全局email
git config --global user.name "你的名字"
git config --global user.email "你的邮箱"
用ssh-keygen命令在个人文件夹下生成公钥密钥
cd ~/ && ssh-keygen -t rsa -C "你的邮箱"
git config --global user.name "你的名字"
git config --global user.email "你的邮箱"
cd ~/ && ssh-keygen -t rsa -C "你的邮箱"