目录

检查

git config --global  --list

配置

git config --global  user.name "这里换上你的用户名"
git config --global user.email "这里换上你的邮箱"

配置ssh配置

ssh-keygen -t rsa -C "这里换上你的邮箱"

查看密钥

cat ~/.ssh/id_rsa.pub