一、設置git的用戶名和郵箱 git
git config --global user.name "toloy"ssh
git config --global user.email "274696224@qq.com"it
二、查看是否有ssh密鑰email
cd ~/.sshrsa
三、生成密鑰qq
git-keygen -t rsa -C "274696224@qq.com"mail