// 设置全局提交人信息
git config --global user.name "这里换上你的用户名"
git config --global user.email "这里换上你的邮箱"
// 设置电脑ssh密钥
ssh-keygen -t rsa -C 'youremail@qq.com'
// 查看电脑ssh密钥
cat ~/.ssh/id_rsa.pub
// 修改 pull 的默认配置为 rebase
git config --global --add pull.rebase true
// 查看是否修改成功命令:
git config --global -l
github仓库密钥 git配置
于 2022-02-19 22:28:48 首次发布