Github学习历程记录

本文详细介绍了如何在Github上注册账号,下载并安装Git for Windows,以及配置Git。通过win7环境下Git 2.25.1的安装教程,指导用户进行Git Bash的使用。在配置SSH Key过程中,可能会遇到主机认证警告,但可以通过添加RSA host key解决。最后,文章阐述了首次将本地代码推送到GitHub的步骤,包括创建仓库、克隆仓库和提交更改。
摘要由CSDN通过智能技术生成

在Github官网注册账号

https://github.com/

下载Git

https://gitforwindows.org/
windows (version:Git-2.25.1-64-bit)

参考安装教材:win7环境下Git 2.25.1安装教程

配置Git

GitHub 安装使用
参照文中第三步,输入的命令是指打开Git下在的文件夹,点击git-bash进入命令框

命令运行效果参照git的使用

验证ssh key 是否添加成功

$ ssh -T git@github.com

出现错误
The authenticity of host ‘github.com (…)’ can’t be established.
找到解决办法:
The authenticity of host ‘github.com (13.229.188.59)’ can’t be established.

出现Warning: Permanently added the RSA host key for IP address ‘’ to the list of known host
关于Github遇到"Permanently added the RSA host key for IP address ‘192.30.255.113’ to the list of known hosts."的问题

You’ve successfully authenticated, but GitHub does not provide shell access 。
You’ve successfully authenticated, but GitHub does not provide shell access 。
再试一次步骤

首次上传本地代码到github

Github 简明教程
GitHub 安装使用
第一次使用git上传本地代码到github

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值