解决 remote Support for password authentication was removed on August 13, 2021.
解决 remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
问题原因
Logon failed, use ctrl+c to cancel basic credential prompt.
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: Authentication failed for 'https://github.com/dream-code-kangli/online-learning.git/'
意思是自从 21 年 8 月 13 后不再支持用户名密码的方式验证了,需要创建个人访问令牌(personal access token)。
解决方法
在 GitHub 上生成令牌,应用于所需的仓库中
- 点击 settings
- 点击右侧的 Developer settings
- 点击 Personal access tokens(个人访问令牌)
点击 Generate new token
设置 token 信息
根据所需过期时间,建议设置成永远,以免麻烦,建议所有选项都选上
点击 Generate token 生成令牌
- 得到生成的令牌
- 应用令牌
将生成的令牌拷贝下来,记得保存,下次你就看不到了。
修改现有的 url
git remote set-url origin https://<your_token>@github.com/<USERNAME>/<REPO>.git
将<your_token>
换成你自己得到的令牌。<USERNAME>
是你自己github的用户名,<REPO>
是你的项目名称
换成你自己得到的令牌。
是你自己github的用户名,
`是你的项目名称
然后再次执行 pull push 操作,大功告成。
解决 remote Support for password authentication was removed on August 13, 2021.相关推荐
- 解决git push提示“remote: Support for password authentication was removed on August 13, 2021.“
场景: # git push Username for 'https://github.com': bboyhan Password for 'https://bboyhan@github.com': ...
- 【解决】remote: Support for password authentication was removed on August 13, 2021
背景: 突然无法上传代码到git了,报如下错误: remote: Support for password authentication was removed on August 13, 2021. ...
- github报错“remote: Support for password authentication was removed on August 13, 2021. Please use a p”
1 报错原因 remote: Support for password authentication was removed on August 13, 2021. Please use a pers ...
- gitpush出现remote: Support for password authentication was removed on August 13, 2021.
git push 报错: Username for 'https://github.com': xxx Password for 'https://jianfee@github.com': remot ...
- git remote:Support for password authentication was removed on August 13, 2021.personal access token
github remote: Support for password authentication was removed on August 13, 2021. Please use a pers ...
- remote: Support for password authentication was removed on August 13, 2021
1.github在2021年8月14日七夕这天搞事情,如果这天你提交了github代码报错如下: 问题:remote: Support for password authentication was ...
- github开发人员在七夕搞事情:remote: Support for password authentication was removed on August 13, 2021.
一. 问题描述 如果你在七夕(没错就是2021年8月14日)的这一天刚好加班,又刚好去访问了全球最大的同性交友网站,又刚好去更新提交代码,又或你创建了一个新的仓库送给自己,又刚好想把这个仓库送给(pu ...
- remote: Support for password authentication was removed on August 13, 2021.
问题描述 有一段时间没有使用github了,今天提交代码发现无法提交,出现以下提示: remote: Support for password authentication was removed o ...
- github上传代码报错remote: Support for password authentication was removed on August 13, 2021. Please use a
文章目录 项目场景: 问题描述和原因分析: token方式登录: 生成自己的token 在个人设置页面,找到Setting 左侧边栏 选择开发者设置 Developer setting 选择个人访问令 ...
- 你发现了没?Github在七夕搞事情:remote: Support for password authentication was removed on August 13, 2021.
录友们都知道,卡哥每天都要维护刷题攻略Github仓库,https://github.com/youngyangyang04/leetcode-master. 但就在七夕,如果你和卡哥一样也要写代码, ...
最新文章
- 修改Nginx默认80端口指向目录
- java摄像头推流_悄摸直播(一)—— 推流器的实现(获取笔记本摄像头画面,转流推流到rtmp服务器)...
- 老大难的 Java ClassLoader,到了该彻底理解它的时候了
- 论文笔记:PPFNet
- linux下安装navicat并生成桌面图标
- Unix awk使用手册
- 进程分析命令(持续更新中)
- PostgreSQL数据目录深度揭秘
- IBM 前面板显示信息提示
- 17款优秀的Vue UI组件库汇总
- 装建津说计算机丢失,宽带连接上网时老是连接不上说缺少netcfg.hlp文件怎么办...
- 小米与乐视的竞争分析
- 按头安利 好看又实用的鼠标事件网页特效素材看这里
- DDR SDRAM的内部结构Cell Structure
- mysql 怎么加上撇号_php - 如何在写入Mysql数据库时处理撇号
- lec formality inconclusive举例
- matlab中gain怎么设置,pid调节中的gain是什么意思?
- 南卡和苹果蓝牙耳机哪个好?高颜值且音质好的蓝牙耳机推荐
- python包发布到Pypi官网
- 关于StringUtils的各种方法的功能、解析