修改用户
git config --global user.name "your name"
git config --global user.email "your email"
生成秘钥
ssh-keygen -t rsa -C "your_email@youremail.com"
不需要密码直接全部enter
查看秘钥
cat ~/.ssh/id_rsa.pub
修改用户
git config --global user.name "your name"
git config --global user.email "your email"
生成秘钥
ssh-keygen -t rsa -C "your_email@youremail.com"
不需要密码直接全部enter
查看秘钥
cat ~/.ssh/id_rsa.pub