type
status
date
slug
summary
tags
category
icon
password
1. 安装git
2. 设置github账号
安装完成后桌面或任何位置右键选择 Git Bash Here
notion image
输入以下命令
notion image
3. 生成ssh文件
输入以下命令(输入后三个选项都直接回车即可)
图为公钥存储位置
notion image
复制id_rsa.pub文件的内容
4. 给github账号添加公钥
进入 github → Settings → SSH and GPG keys 点击 New SSH key
notion image
Title随意,Key填复制过来的公钥
5. 连接完成
添加后在git bash里输入
若成功则显示
notion image
Git、Github相关Home Server入门:搭建系统
Loading...
Kougami
Kougami
Life Will Change
统计
文章数:
18
公告
てへぺりんこ