版权声明:如果对大家有帮助,大家可以自行转载的。 https://blog.csdn.net/S2013122867/article/details/79691231
注明:我只是博客的搬运工。。。。基本上都是整合别人的博客
【参考博客链接】
GitHub新手使用教学(从安装到使用)
安装Git for Windows
下载地址: https://git-for-windows.github.io/
Git与GitHub关联使用
- 到github官网(如果已经注册过就直接登录)
- 本地配置用户名和邮箱(利用gitbase)
git config --global user.name "用户名"
git config --global user.email "邮箱"
生成ssh key
ssh-keygen -t rsa -C "邮箱"
复制ssh key
clip < ~/.ssh/id_rsa.pub
- 连接github
打开GitHub 进入setting找到ssh key并新建 - 测试连接是否成功
ssh -T [email protected]