1.配置用户名邮箱、生成ssh密钥:
用户名:
git config --global user.email "1793460677@qq.com"
生成ssh密钥:
cat ~/.ssh/id_rsa.pub
之后再码云上设置----ssh公钥----把生成的密钥添加上去。
测试成没成功:
$ ssh -T git@gitee.com
1.配置用户名邮箱、生成ssh密钥:
用户名:
git config --global user.email "1793460677@qq.com"
生成ssh密钥:
cat ~/.ssh/id_rsa.pub
之后再码云上设置----ssh公钥----把生成的密钥添加上去。
测试成没成功:
$ ssh -T git@gitee.com
本文标题:git
本文链接:https://www.haomeiwen.com/subject/iwjhjktx.html
网友评论