许瑞刚的博客


  • 首页

  • 关于

  • 标签

  • 分类

  • 归档

  • 站点地图

  • 公益404

使用ssh方式实现git远程连接github

发表于 2019-10-17
字数统计: | 阅读时长 ≈

git 的安装
1.在windows上使用git,从git官网直接下载 https://git-scm.com/downloads, 下载完后默认选项安装即可。2.安装完成后,在菜单栏里找到‘git bash’,弹出一个命令窗口,就说明git安装成功。git基本操作教程https://www.liaoxuefeng.com/wiki/896043488029600
使用ssh方式实现git远程连接github
1.登陆github,点击‘new’新建一个仓库,进入仓库。
2.复制ssh链接,在git bash输入:git clone ssh链接
3.输入ssh-keygen -t rsa -C ‘xxx@xx.com’,回车。
4.切换到.ssh目录下,cat id_rsa.pub 复制所有内容。
5.到github右上角账号管理‘setting’下面找到ssh and GPG keys 菜单,点击Add ssh key,在title栏输入标题,key栏粘贴刚刚复制的公钥内容,点击Add key.
6.输入 ssh -vT git@github.com。

linux学习资料整理

发表于 2019-10-16
字数统计: | 阅读时长 ≈
  1. linux中国
  2. 实验楼
  3. 鸟哥的Linux私房菜
  4. Linux公社

Hello World

发表于 2019-10-15
字数统计: | 阅读时长 ≈

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
#第一篇博客·

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

许瑞刚

知识就是力量

3 日志
© 2019 许瑞刚 | Site words total count:
由 Hexo 强力驱动
|
主题 — NexT.Gemini v5.1.4