一、git config
1.修改用户名和邮箱
git config --global user.name "zhangjg"
git config --global user.email "zhangjg@qq.com.cn"
2.查看配置信息
git config --list
git config user.name
git config user.email
二、生成公钥
版本工具gitee
ssh-keygen -t ed25519 -C "zhangjg@qq.com.cn"
帮助文档