解决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.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes
of authentication.
fatal: Authentication failed for 'https://github.com/bboyHan/xxxx.git/'
原因:
从 21 年 8 月 13 后不再支持用户名密码的方式验证,而需要创建个人访问令牌(personal access token)。
解决办法:
从Github上生成令牌,用于仓库代码提交等操作;
github -> settings -> Developer settings -> Personal access tokens -> generate new token
生成一个,权限根据你自己的需要自行选择,生成之后的token:
git remote set-url origin https://<your_token>@github.com/<USERNAME>/<REPO>.git
解决~
技术交流与资源分享(博主Q微同号: 446794914),感兴趣的朋友欢迎交流。
解决git push提示“remote: Support for password authentication was removed on August 13, 2021.“相关推荐
- 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
背景: 突然无法上传代码到git了,报如下错误: remote: Support for password authentication was removed on August 13, 2021. ...
- remote: Support for password authentication was removed on August 13, 2021.
问题描述 有一段时间没有使用github了,今天提交代码发现无法提交,出现以下提示: remote: Support for password authentication was removed o ...
- 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 ...
- 解决Github登录问题: Support for password authentication was removed on August 13, 2021
最近往github仓库中上传资料,发现这样一个问题: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 ...
- 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 ...
- github push报错 Support for password authentication was removed on August 13, 2021. Please use a perso
github push报错 Support for password authentication was removed on August 13, 2021. Please use a perso ...
最新文章
- 如果刘华强是个码农...
- python替代_【Python】选择ipython替代python的理由
- pipreqs生成python项目依赖清单
- linux服务器上网页变形,Linux服务器上用iScanner删除网页恶意代码的方法
- IJCAI 2018:中科院计算所:增强对话生成一致性的序列到序列模型
- Pycharm 2019 添加 docker 解释器
- 图解MySQL5.5详细安装与配置过程
- Dubbo(十三)dubbo的负载均衡配置策略
- 利用空余时间在完成一个Outlook框架控件,还有些Bug,完善中
- 安装WampServer时出现的问题(丢失VCRUNTIME140.dll或MSVCR110.dll)以及解决办法
- csu 1196 - 去爬山
- Mysql之INFORMATION_SCHEMA解析1
- JAVA毕业设计高校实习实训管理系统计算机源码+lw文档+系统+调试部署+数据库
- 雷电模拟器修改本地IP
- 基于Web2.0的异构数字资源检索系统研究与开发
- LeetCode 11.Container With Most Water
- 提供Minimal SD Base Gal/Raf SD基础培养基(含半乳糖/棉子糖)
- 第三回 无处不在的计算
- 机智云受邀加入中国智能家居产业联盟智慧酒店小组
- sftp文件上传下载改名压缩解压
热门文章
- 机器学习实战 泰坦尼克号生存预测
- echarts中国地图实现阴影效果自定义设置
- aliyun centos7.5,安装mysql5.6数据库,navicat 连接数据库
- 人体姿态估计中的可视化---画出预测关节位置3D图和地面真实图
- Aruba携手中国电信云南公司共建 “智慧校园”
- Sinfor AC在内网(二层)多网段(非VLAN)环境下的部署
- Home Credit Default Risk 违约风险预测,kaggle比赛,初级篇,LB 0.749
- 利用PHP制作简单的内容采集器
- 如何用 React Native 开发实时音视频应用
- 用户行为和属性用于推荐系统问题(MBGCN,AGCN,CML)