Git安装和配置
下载
安装
Git配置用户名和邮箱
git config --global user.name "Your Name"
git config --global user.email "email@example.com"创建SSH Key
# 尝试一:使用新命令生成rsa(gitee没问题了,github提示rsa type invalid)
ssh-keygen -t ed25519 -C "yourEmail@example.com"
# 尝试二:升级git版本,从当前2.27升级到2.35最新后,发现github可以正常pull和push
添加github的host
github添加SSH Key
Last updated
Was this helpful?