git 报错:Support for password authentication was removed. Please use a personal access token instead.

简介: git 报错:Support for password authentication was removed. Please use a personal access token instead.

原因

github的验证需要用token了。



解决

在github里面,我们找到settings里的developer settings选项,在选择personal access tokens 点击 Generate new token 新增token。

80278f7aef84498c8133150113d7e92b.png

填一下下面的东东就行

6d974d32e7bc45b19e7877b3fa30fa88.png



生成token之后复制到密码处就行

29fd692b158a447eb728096b143c9cfa.png



重复输入账号密码问题

可以通过往 windows 添加普通凭据,密码处填写token即可


afedaa86f5f840e6b685a5c9056e1596.png









目录
打赏
0
0
0
0
21
分享
相关文章
|
3天前
|
git 使用之remote: File [4e21e71a555febaa4dfaaa05cf7eeb606ea96ae2] size 104.090MB, exceeds quota 100MB remote: Please remove the file[s] from history and try again 报错如何解决-优雅草卓伊凡
git 使用之remote: File [4e21e71a555febaa4dfaaa05cf7eeb606ea96ae2] size 104.090MB, exceeds quota 100MB remote: Please remove the file[s] from history and try again 报错如何解决-优雅草卓伊凡
20 3
git 使用之remote: File [4e21e71a555febaa4dfaaa05cf7eeb606ea96ae2] size 104.090MB, exceeds quota 100MB remote: Please remove the file[s] from history and try again 报错如何解决-优雅草卓伊凡
git报错The project you were looking for could not be found 解决方式
git报错The project you were looking for could not be found 解决方式
935 1
【Azure App Service】App Service设置访问限制后,使用git clone代码库出现403报错
【Azure App Service】App Service设置访问限制后,使用git clone代码库出现403报错
解决Idea报错出现Git is not installed
解决Idea报错出现Git is not installed
1146 2
git 常用命令
这些只是 Git 命令的一部分,Git 还有许多其他命令和选项,可根据具体需求进行深入学习和使用。熟练掌握这些命令能够帮助你更高效地管理代码版本和协作开发。
Git进阶笔记系列(01)Git核心架构原理 | 常用命令实战集合
通过本文,读者可以深入了解Git的核心概念和实际操作技巧,提升版本管理能力。

相关实验场景

更多
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等