From 98ea9faf7d19e9afa77d5aef4999c777ce069e79 Mon Sep 17 00:00:00 2001 From: camera-2018 <2907618001@qq.com> Date: Tue, 19 Dec 2023 00:52:10 +0800 Subject: [PATCH] chore: cos --- 3.编程思维体系构建/3.5git与github.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/3.编程思维体系构建/3.5git与github.md b/3.编程思维体系构建/3.5git与github.md index 03f7861..e224ea6 100644 --- a/3.编程思维体系构建/3.5git与github.md +++ b/3.编程思维体系构建/3.5git与github.md @@ -283,31 +283,31 @@ git config --global user.email "zhangsan@foo.com" # your email push 的时候 github 会弹窗索要你的 github 个人信息,如下图 -![](./static/image_32.png) +![](https://cdn.xyxsw.site/image_32.png) 输入你的 github 用户名 -![](./static/image_33.png) +![](https://cdn.xyxsw.site/image_33.png) 但如果这个时候输入你的账户密码,就会出现如下提示 -![](./static/image_35.png) +![](https://cdn.xyxsw.site/image_35.png) 这是因为 github 在 2021 年 8 月 13 日之后移除了对密码验证的支持,你需要使用令牌认证的方式 进入个人设置,拉到最底下 -![](./static/image_36.png) +![](https://cdn.xyxsw.site/image_36.png) 选择 -![](./static/image_37.png) +![](https://cdn.xyxsw.site/image_37.png) -![](./static/image_38.png) +![](https://cdn.xyxsw.site/image_38.png) 会看到这样一个界面 -![](./static/image_39.png) +![](https://cdn.xyxsw.site/image_39.png) 可以随便起一个名字,选择 token 的有效期,然后给这个 token 一些权限,如果不清楚这些选项分别代表什么意思的话,把 repo 这个勾选一般就足够了。 @@ -318,7 +318,7 @@ push 的时候 github 会弹窗索要你的 github 个人信息,如下图 这样我们就可以使用 token 来进行 https 方法绑定 github 账号 -![](./static/image_40.png) +![](https://cdn.xyxsw.site/image_40.png) #### 【ssh 方法配置】创建 SSH Key 并获取公钥