安装
sudo apt-get install git
配置
git config --global user.name "YOUR NAME"
git config --global user.email "YOUR EMAIL ADDRESS"
ssh-keygen -t rsa -C "your_email@example.com" 一路回车 复制.ssh/id_rsa.pub中得sshkey到github SSH中ssh -T git@github.comYou may see this warning: The authenticity of host 'github.com (207.97.227.239)' can't be established. # RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. # Are you sure you want to continue connecting (yes/no)? 输入yes,出现成功提示参考:
https://help.github.com/articles/set-up-git/
本文详细介绍了如何使用命令行工具sudo apt-get安装git,并通过配置个人用户名和邮箱完成基本设置。接着,教程演示了如何生成SSH密钥并将其添加到GitHub SSH中,最后解决在连接GitHub时遇到的安全警告。
1069

被折叠的 条评论
为什么被折叠?



