惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
Y
Y Combinator Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Hugging Face - Blog
Hugging Face - Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
L
LangChain Blog
美团技术团队
N
Netflix TechBlog - Medium
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog
博客园 - 司徒正美
爱范儿
爱范儿
D
DataBreaches.Net
月光博客
月光博客
U
Unit 42
B
Blog RSS Feed
Engineering at Meta
Engineering at Meta
Apple Machine Learning Research
Apple Machine Learning Research
Jina AI
Jina AI
MongoDB | Blog
MongoDB | Blog
腾讯CDC

乌帮图

七麦数据 analysis 加密参数 | 乌帮图 2021 年 8 月跑步记录:配速很低 | 乌帮图 2021 年 6 月&7 月跑步记录 使用 OpenArk 查找系统全局快捷键 | 乌帮图 2021 年 5 月跑步记录:状态不错 | 乌帮图 腾讯体育直播源调试 | 乌帮图 PP体育直播源调试摘要 | 乌帮图 央视频移动网页版 ckey | 乌帮图 2021 年 4 月跑步记录:重新启航 | 乌帮图
GitHub 已停止支持 Git 密码验证 | 乌帮图
作者是 乌帮图。 · 2021-08-15 · via 乌帮图

今天在往 GitHub 仓库 push 代码时出现错误Support for password authentication was removed,请求时会返回 403 错误。具体如下:

$ git push
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access 'https://github.com/wbt5/real-url.git/': The requested URL returned error: 403

Support for password authentication was removed

看意思是:从 2021 年 8 月 13 日开始,已移除在 Git 客户端上使用账号密码的验证方式,之后都要用基于令牌的身份验证来确保 Git 操作的安全,比如 personal access、OAuth、SSH Key、GitHub App installation token 都是可以的。

这里用最快捷解决办法:

1、先要去 GitHub 账户中获取一个 Personal access tokens:Settings -- Developer settings -- Personal access tokens -- Generate new token,填入 Note,Expiration 我设置的是永不过期,下面 Select scopes 全选,Generate token 后复制。

2、在 Git bash 中输入:git remote set-url origin https://<生成的token>@github.com/用户名/仓库名即可。

话说现在 GitHub 越来越难登陆了,链接经常被重置或超时。