git配置github
查看
git config --global user.name
git config --global user.email
配置
git config --global user.name “xxxx”
git config --global user.email “xxxx”
生成密钥
ssh-keygen
通过cd ~/.ssh进入我们密钥对文件夹
通过cat指令来进行文件内容的获取
cat id_rsa.pub
拿到的密钥即可加入到github中